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

Module _DSA

Classes [hide private]
  error
  DSAobj
Functions [hide private]
 
generateQ(randfunc)
 
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 a DSA key of length 'bits', using 'randfunc' to get random data and 'progress_func', if present, to display the progress of the key generation.