Comment

Comment by dspillett

Do be sure to note the mention that the new algorithm is not considered a cryptographically secure PRNG.

Also because the specification has very little by way of requirements in that regard, no matter how good some implementations may be you should always assume you code may end up being used in an environment where Math.random() is no better than the worst generator you can think of.

If you need specific properties in your PRNG then you still need to provide something in place of Math.random().

parent dspillett 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton