Package gnu.crypto.prng

The Fortuna PRNG from GNU Crypto, updated and modifed for I2P.

See:
          Description

Interface Summary
IRandomStandalone The basic visible methods of any pseudo-random number generator.
RandomEventListenerStandalone An interface for entropy accumulators that will be notified of random events.
 

Class Summary
AsyncFortunaStandalone fortuna instance that tries to avoid blocking if at all possible by using separate filled buffer segments rather than one buffer (and blocking when that buffer's data has been eaten) Note that this class is not fully Thread safe! The following methods must be synchronized externally, they are not synced here or in super(): addRandomByte(), addRandomBytes(), nextByte(), nextBytes(), seed()
BasePRNGStandalone An abstract class to facilitate implementing PRNG algorithms.
FortunaStandalone The Fortuna continuously-seeded pseudo-random number generator.
FortunaStandalone.Generator The Fortuna generator function.
RandomEventStandalone An interface for entropy accumulators that will be notified of random events.
 

Exception Summary
LimitReachedExceptionStandalone A checked exception that indicates that a pseudo random number generated has reached its theoretical limit in generating random bytes.
 

Package gnu.crypto.prng Description

The Fortuna PRNG from GNU Crypto, updated and modifed for I2P.