feat: crypto.randomInt([min, ]max[, callback])
SamuelScheit opened this issue · 0 comments
SamuelScheit commented
nodejs crypto module provides a randomInt 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