Package Crypto :: Package SelfTest :: Package Random :: Package OSRNG :: Module test_winrandom
[hide private]
[frames] | no frames]

Module test_winrandom    Package Random :: Package Fortuna :: Module FortunaAccumulator :: Class FortunaPool
[hide private]
[frames] | no frames]

Class FortunaPool

object --+
         |
        FortunaPool

Fortuna pool type

This object acts like a hash object, with the following differences:

    - It keeps a count (the .length attribute) of the number of bytes that
      have been added to the pool
    - It supports a .reset() method for in-place reinitialization
    - The method to add bytes to the pool is .append(), not .update().

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
append(self, data)
 
digest(self)
 
hexdigest(self)
 
reset(self)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclas