tags:

views:

43

answers:

2

Dear Community members,

Need to share my problem that is : A PGP public key server gives me the key in Radix64 format . And i searching for any method which can encrypt my message using this Radix64 format public key .

any alternate suggestions or documents are welcome .........

A: 

exPyCrypto looks good.

This previous SO question addresses Radix64 format specifically for public keys.

To convert the actual base/radix64 encoded characters, see this question:

import base64
decoded_bytes = base64.b64decode(ascii_chars)
wrang-wrang
A simple ascii_chars.decode('base64') works too.
Ants Aasma
A: 

You can decode the key by using the base64 module and then encrypt the message.

Nick D