Learning JavaScript: Generating Random Whole Numbers (unicodegirl.com) 6 points by osahyoun 13y ago ↗ HN
[–] cfuegos 13y ago ↗ David Bau's seedrandom.js is quite interesting:[It] defines a method Math.seedrandom() that, when called, substitutes an explicitly seeded RC4-based algorithm for Math.random(). Also supports automatic seeding from local or network sources of entropy.http://davidbau.com/encode/seedrandom.js
1 comment
[ 2.9 ms ] story [ 7.4 ms ] thread[It] defines a method Math.seedrandom() that, when called, substitutes an explicitly seeded RC4-based algorithm for Math.random(). Also supports automatic seeding from local or network sources of entropy.
http://davidbau.com/encode/seedrandom.js