Warning: this generator should not be used for cryptographic work.
NO WARRANTY
KISS combines a linear congruence, XorShift and Lag with carry generator.
The idea is from George Marsaglia.
RandomKISS new nextInteger
(RandomKISS new:5489) nextInteger
If heavily used, it may be useful to embed the original C code as inline C code for a big speedup)
Please read:
Wikipedia article on KISS http://de.wikipedia.org/wiki/KISS_(Zufallszahlengenerator)
http://de.wikipedia.org/wiki/Liste_von_Zufallszahlengeneratoren
http://eprint.iacr.org/2011/007.pdf (KISS is not cryptographically secure)