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
Just a heads up: your randomNumber function is biased (so probably not suitable for cryptographic purpose). See http://www.pcg-random.org/posts/bounded-rands.html for details (specifically "FP Multiply (Biased)" section).
I opened a Node.js feature request to get this into the standard library since it's such a common error: nodejs/node#29707
The text was updated successfully, but these errors were encountered:
Just a heads up: your randomNumber function is biased (so probably not suitable for cryptographic purpose). See http://www.pcg-random.org/posts/bounded-rands.html for details (specifically "FP Multiply (Biased)" section).
I opened a Node.js feature request to get this into the standard library since it's such a common error: nodejs/node#29707
The text was updated successfully, but these errors were encountered: