Live data from Hacker News

Learning JavaScript: Generating Random Whole Numbers

unicodegirl.com

1–2 of 2 posts

Re: Learning JavaScript: Generating Random Whole Numbers

#2
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