You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like to leave it as an idea here, just to think about it or to research: how about porting a good and performant RNG as a WebAssembly library which provides API for JavaScript instead of using JavaScript's Math.random(), and using the latter as a fallback with a fair warning for developers?
Rust wraps providers of operating system's RNGs and it also discloses that some browsers support Crypto.getRandomValues() as a better RNG for cryptographic operations.
The text was updated successfully, but these errors were encountered:
I like to leave it as an idea here, just to think about it or to research: how about porting a good and performant RNG as a WebAssembly library which provides API for JavaScript instead of using JavaScript's
Math.random()
, and using the latter as a fallback with a fair warning for developers?Rust wraps providers of operating system's RNGs and it also discloses that some browsers support
Crypto.getRandomValues()
as a better RNG for cryptographic operations.The text was updated successfully, but these errors were encountered: