Package Crypto :: Package PublicKey :: Module _RSA
[hide private]
[frames] | no frames]

Module _RSA

Classes [hide private]
  RSAobj
Functions [hide private]
 
generate_py(bits, randfunc, progress_func=None, e=65537)
generate(bits:int, randfunc:callable, progress_func:callable, e:int)
Variables [hide private]
  __revision__ = '$Id$'
  __package__ = 'Crypto.PublicKey'
Function Details [hide private]

generate_py(bits, randfunc, progress_func=None, e=65537)

 

generate(bits:int, randfunc:callable, progress_func:callable, e:int)

Generate an RSA key of length 'bits', public exponent 'e'(which must be odd), using 'randfunc' to get random data and 'progress_func', if present, to display the progress of the key generation.