On Mon, 02 Apr 2012 16:19:05 -0700, Astan Chee wrote: > and I'm trying to convert this into python and I'm rather stuck with > pycrypto as there is no example on how to make the public key with a mod > and exponent (or I've probably missed it).
from Crypto.PublicKey import RSA mod = long("B99808B881F3D8A...", 16) # truncated for clarity exp = long("010001", 16) rsa = RSA.construct((mod, exp)) -- http://mail.python.org/mailman/listinfo/python-list