Perl: the Markov chain saw | |
PerlMonks |
Re^4: how to get a 64bit random number with rand() ?by Anonymous Monk |
on Mar 23, 2018 at 15:38 UTC ( [id://1211614]=note: print w/replies, xml ) | Need Help?? |
The issue of entropy distilling is a concern for random number generators. Various sources of randomness are mixed into the pool and typically some one-way hashing applied on the output. Unless if you're trying to write a PRNG yourself, you don't want to mix anything. The generator is essentially a stream (and implementing such via IO layers is actually very simple.) From a stream, one just consumes characters.
In Section
Seekers of Perl Wisdom
|
|