Changes for version 0.03

  • Clear the seed after the first call to rand() or irand(), so that an attacker can't inspect the state of the RNG to determine the seed.
  • Only seed ourselves with 64 bytes (512 bits) intead of 1024 bytes (8192 bits). The author of ISAAC says that this is safe.
  • Add POD explaining seed sizes and the importance of seed randomness.
  • Warn users if they pass in a bad seed or set seed_size too small.
  • Fix some small code and POD issues (thanks to LpSolit)

Modules

Cryptographically-secure, cross-platform replacement for rand()
The underlying PRNG, as an object.