Package gnu.crypto.prng
package gnu.crypto.prng
The Fortuna PRNG from GNU Crypto, updated and modifed for I2P.
-
ClassDescriptionfortuna 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()An abstract class to facilitate implementing PRNG algorithms.The Fortuna continuously-seeded pseudo-random number generator.The Fortuna generator function.The basic visible methods of any pseudo-random number generator.