DEV Community

Discussion on: How to Generate a Secure Random Number in Node.js

Collapse
 
huncyrus profile image
huncyrus

Nice. Alternatively can be used UUID (v4) as well.

Collapse
 
phroca profile image
philippe roca

Or you can use random-number-csprng for generation number in a range.