DESCR 906 B

12345678910111213141516
  1. Crypt::Random is an interface module to the /dev/srandom device found on most
  2. modern Unix systems. The /dev/srandom driver gathers environmental noise from
  3. various non-deterministic sources including inter-keyboard timings and
  4. inter-interrupt timings that occur within the operating system environment.
  5. The /dev/srandom driver maintains an estimate of true randomness in the pool and
  6. decreases it every time random strings are requested for use. When the estimate
  7. goes down to zero, the routine blocks and waits for the occurrence of
  8. non-deterministic events to refresh the pool.
  9. The /dev/srandom kernel module also provides another interface, /dev/arandom,
  10. that does not wait for the entropy-pool to recharge and returns as many bytes
  11. as requested. /dev/arandom is considerably faster at generation compared to
  12. /dev/srandom, which should be used only when very high quality randomness is
  13. desired.