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

Module RSA

Classes [hide private]
  RSAobj
  RSAobj_c
  object
Functions [hide private]
 
generate_c(bits, randfunc, progress_func=None)
 
construct_c(tuple)
 
generate_py(bits, randfunc, progress_func=None)
generate(bits:int, randfunc:callable, progress_func:callable)
 
construct_py(tuple)
construct(tuple:(long,) : RSAobj Construct an RSA object from a 2-, 3-, 5-, or 6-tuple of numbers.
 
generate(bits, randfunc, progress_func=None)
 
construct(tuple)
Variables [hide private]
  __revision__ = '$Id$'
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.