def generate_encryption_key():
 return as_base64(os.urandom((AES_KEY_SIZE + HMAC_SIG_SIZE)))

def generate_encryption_key ( ) : return as_base64 ( os . urandom ( ( AES_KEY_SIZE + HMAC_SIG_SIZE ) ) )
generates a 256 bit aes encryption key and prints the base64 representation .