browserify / browserify/crypto-browserify
feat: crypto.randomInt([min, ]max[, callback])
Open
- Dominant language
- JavaScript
- Stars
- 681
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
nodejs crypto module provides a [randomInt](https://nodejs.org/api/crypto.html#cryptorandomintmin-max-callback) function, which is missing in the crypto-browserify package.
The implementation can be made using the web crypto api and the getRandomValues() function and use Math.random as a fallback
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.