4 ms·
"And if you really want a random number, paste this into your browser’s JavaScript console..." I would suggest rolling dice instead. The PIN that produced woul
by w8rbt 9y ago
"And if you really want a random number, paste this into your browser’s JavaScript console..."
I would suggest rolling dice instead. The PIN that produced would be truly random.
- LyndsySimon 9y agoEspecially since the script given will produce a pseudorandom number in the range [1000, 9999].
- ricardobeat 9y agoRNGs shipped in browsers today are pretty good, and there is also crypto.getRandomValues().
- BenjiWiebe 9y agoAnd some dice I've had were quite obviously not random. :)