org.apache.commons.math3.random

Class ISAACRandom

• All Implemented Interfaces:
Serializable, RandomGenerator

public class ISAACRandom
extends BitsStreamGenerator
implements Serializable
ISAAC: a fast cryptographic pseudo-random number generator
ISAAC (Indirection, Shift, Accumulate, Add, and Count) generates 32-bit random numbers. ISAAC has been designed to be cryptographically secure and is inspired by RC4. Cycles are guaranteed to be at least 240 values long, and they are 28295 values long on average. The results are uniformly distributed, unbiased, and unpredictable unless you know the seed.
This code is based (with minor changes and improvements) on the original implementation of the algorithm by Bob Jenkins.
Since:
3.0
Version:
$Id: ISAACRandom.java 1547633 2013-12-03 23:03:06Z tn$