RSA in python

2006-02-17 Thread Abhisek Datta
Hello, I am looking for good RSA implementations in python that can import a public key in PEM format and encrypt a buffer using the imported public key. I tried m2crypto, but somehow it is giving me exceptions which I couldnt solve as of now. I get the following with m2crypto: rsa = M2Crypto.RSA

Re: RSA in python

2006-02-17 Thread Abhisek Datta
I tried the ezPyCrypto which is basically a higher level wrapper to pyCrypto but it fails to import public key in PEM format. -abhisek On 17 Feb 2006 07:02:51 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Did you try this: http://www.amk.ca/python/code/crypto ? > > -- > http://mail.python

Re: RSA in python

2006-02-17 Thread Abhisek Datta
h I am receiving from an xmlrpc server. Then I saved the public key in "pubkey.pem" file and then use M2Crypto.RSA.load_pub_key() and I am getting the output as show above. -abhisek On 2/17/06, Heikki Toivonen <[EMAIL PROTECTED]> wrote: > Abhisek Datta wrote: > > I am looking for