Talk:Random number generator (device)

From Rosetta Code
Revision as of 14:03, 11 January 2011 by MikeMol (talk | contribs) (Primer notes and language features)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Primer notes

On Linux, reading from /dev/urandom pulls from the system entropy pool (which may contributed to by HRNGs, among other sources), but provides psuedorandom numbers if that entropy pool dries up. reading from /dev/random, on the other hand, pulls from the same entropy pool, but blocks whenever the entropy pool dries up. --Michael Mol 14:03, 11 January 2011 (UTC)

Libraries and features

Is it within the scope of this task to use libraries and language features which provide random numbers derived from both hardware and software sources, or is the intent here to show a more low-level access to the underlying operating system itself? --Michael Mol 14:03, 11 January 2011 (UTC)