Base64 encoding keys