mardi 21 septembre 2021

Math.random() VS crypto.randomInt() - Node.js

What is the difference between the way Math.random() and crypto.randomInt() work in node.js? And if I will run them in a loop for a long time, is it possible for me to get the same result an amount of times that exceeds the statistics?




Aucun commentaire:

Enregistrer un commentaire