Learning JavaScript: Generating Random Whole Numbers (unicodegirl.com) 6 points by osahyoun 14y ago ↗ HN
[–] cfuegos 14y 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.8 ms ] story [ 15.7 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