Re:Show HN: Enter a message, delivery at a random time up to...
by palish on Saturday July 23, 2011 @05:24PM
(#2797876)
Oh, sorry... if you're asking whether it's possible to hack the "crappy rand()" such that it has more entropy by constantly re-seeding from MT... then I have no idea =) I just use MT itself.
I asked the question in relation to the LC generators in stdlib, where it seemed like reseeding from the (probably MT? I believe BSD uses Yarrow) generator in /dev/urandom would actually result in more entropy than the internal state of the LC generator in Perl/C stdlib. Totally agree with not reseeding MT though -- I have it in a persistent FastCGI script with an initial seed from /dev/random now.