[pycrypto] Pycrypto question.

death Deathzor at Deathzor.com
Wed May 5 13:18:11 CST 2010


hhhm your trying to decrypted a plan text msg ?. 
decrypt = going from encrypted to plain text.
encrypt = going from plain text to encrypted. 

On Wed, 2010-05-05 at 10:05 -0700, jd wrote:
> 
>    x=RSAkey.decrypt("Foo Bar")  # This will use the private key
>    
>    pub = RSAkey.publickey() 
>    pub.encrypt(x,0)   # This will use the public key and give me "Foo
> Bar" back. 



More information about the pycrypto mailing list