adds entropy to the generator
reads the current status from a string (that should have been trimmed) returns the number of chars read
returns a random uint
returns a random byte
returns a random long
seeds the generator
initializes the generator with a uint as seed
writes the current status in a string
Wrapper for the Mersenne twister.
The Mersenne twister is a pseudorandom number generator linked to CR developed in 1997 by Makoto Matsumoto and Takuji Nishimura that is based on a matrix linear recurrence over a finite binary field F2. It provides for fast generation of very high quality pseudorandom numbers, having been designed specifically to rectify many of the flaws found in older algorithms.
Mersenne Twister has the following desirable properties: