I like the idea, but I don't think it is sufficient; I can't guarantee, in a cross-platform way, where to find a set of files that changes fast enough.
What if someone uses this module as a PRNG to generate a single random password in a script -- but that script is called very quickly on a high-volume web server. I can find fast-changing files on Windows and Linux, but what about other platforms?
Also, the idea of using 'random' bytes from a 'random' file when I don't yet have a seed for a random-number generator seems like a bit of a chicken-and-egg problem, don't you think? ;-)
Yoda would agree with Perl design: there is no try{}
In reply to Using 'random' to get a RNG seed...
by radiantmatrix
in thread Cryptographically Secure Psuedorandom Number Genergator - PRNG?
by radiantmatrix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |