Need help converting an agent from DES to AES