8 ms·
None of the random() functions in most JavaScript engines are cryptographically secure. There's proposed RNG that are, but only in Webkit.
by nwh 14y ago
None of the random() functions in most JavaScript engines are cryptographically secure. There's proposed RNG that are, but only in Webkit.
- STRML 14y agoThat's a good point. I will switch the random number generation to SJCL, which uses mouse movement to seed the generator & hashes the aggregate.