The Fortuna PRNG from GNU Crypto, updated and modifed for I2P.
Interface Summary Interface Description IRandomStandaloneThe basic visible methods of any pseudo-random number generator. RandomEventListenerStandaloneAn interface for entropy accumulators that will be notified of random events.
Class Summary Class Description AsyncFortunaStandalonefortuna 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() BasePRNGStandaloneAn abstract class to facilitate implementing PRNG algorithms. FortunaStandaloneThe Fortuna continuously-seeded pseudo-random number generator. FortunaStandalone.GeneratorThe Fortuna generator function. RandomEventStandaloneAn interface for entropy accumulators that will be notified of random events.
Exception Summary Exception Description LimitReachedExceptionStandaloneA checked exception that indicates that a pseudo random number generated has reached its theoretical limit in generating random bytes.