4 ms·
It's plenty random enough for non-cryptographic uses of randomness, like shuffling a music player.
by JulianMorrison 16y ago
It's plenty random enough for non-cryptographic uses of randomness, like shuffling a music player.
- lutorm 16y agoIt's not clear that it's random enough for Monte Carlo simulations, non-cryptographic though they may be. IIRC the standard random() has a pretty dysmal sequence length.
- barrkel 16y agoMost standard random routines have a period of 2^32 or 31. What they don't usually have is random low order bits. They're often linear congruential generators, just a multiply and an add.
- someone_here 16y agohttp://cod.ifies.com/2008/05/php-rand01-on-windows-openssl-rand-on.html http://cod.ifies.com/2008/05/php-rand01-on-windows-openssl-r... No.