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'
  sieve = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 4...
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.


Variables Details [hide private]

sieve

Value:
[2,
 3,
 5,
 7,
 11,
 13,
 17,
 19,
...