Class | Crypt::ISAAC |
In: |
src/ISAAC.rb
|
Parent: | Object |
ISAAC is a fast, strong random number generator. Details on the algorithm can be found here: burtleburtle.net/bob/rand/isaac.html This provides a consistent and capable algorithm for producing independent streams of quality random numbers.
aa | [RW] | |
bb | [RW] | |
cc | [RW] | |
mm | [RW] | |
randcnt | [RW] | |
randrsl | [RW] |
When a Crypt::ISAAC object is created, it needs to be seeded for random number generation. If the system has a /dev/urandom file, that will be used to do the seeding. If it does not, the system will fall back to a simplistic initialization mechanism.