Open dOrgJelli opened 1 year ago
just saw this https://github.com/Absolucy/nanorand-rs might be worth checking it to see if we wrap it? just thinking out loud here, haven't check it deeply
Hey @cbrzn, this will need to be a plugin, as it will utilize the OS' random number generation APIs. For examples of this, see the rust getrandom
crate's documentation which shows this: https://docs.rs/getrandom/latest/getrandom/
Create an initial implementation, using the provided reference implementations: https://docs.rs/getrandom/latest/getrandom/ https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues https://nodejs.org/api/webcrypto.html#cryptogetrandomvaluestypedarray