The IRandom Interface
void init(java.util.Map attributes)
Function
Initializes this PRNG, preparing it for use. Throws an
IllegalArgumentException if the given attributes are not
appropriate for this PRNG algorithm.
byte nextByte() throws LimitReachedException
Function
Returns the next pseudo-random byte in this generator's
sequence. Throws a LimitReachedException if this generator
cannot produce any more bytes of any quality.
void nextBytes(byte[]out, int off, int len) throws LimitReachedException
Function
Fills the buffer out with the next len bytes in this
generator's sequence, storing the bytes beginning at off. Throws
a LimitReachedException if this generator cannot produce any
more bytes of any quality.
java.lang.String name()
Function
Returns the canonical name of this PRNG algorithm.
java.lang.Object clone()
Function
Returns a copy of this instance. The copy will be in the exact same
state as this instance, and will be independent of this instance.