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)
generate(bits:int, randfunc:callable, progress_func:callable)
Variables [hide private]
  __revision__ = '$Id$'
  __package__ = 'Crypto.PublicKey'
Function Details [hide private]

generate_py(bits, randfunc, progress_func=None)

 

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

Generate an RSA key of length 'bits', using 'randfunc' to get random data and 'progress_func', if present, to display the progress of the key generation.