Base64 coding, AES encryption