Base64 and encryption key management.