Package gnu.crypto.prng

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

  • Interface Summary 
    Interface Description
    IRandomStandalone
    The basic visible methods of any pseudo-random number generator.
  • Class Summary 
    Class Description
    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.