RSA in python

plahey at alumni.caltech.edu plahey at alumni.caltech.edu
Fri Feb 17 14:49:46 EST 2006


Looking at the api documentation again, it is possible that they want
this:

pubkey = open( 'pubkey.pem', 'rb' ).read()          # binary read here?
rsa = M2Crypto.RSA.load_pub_key(pubkey)

Anyway, things to play with...




More information about the Python-list mailing list