mardi 28 novembre 2017

How to get Node.js to use non-pseudo-random number generator

Given this:

Unless you have a hardware random number generator, the bytes will be pseudo-random—generated predictably from a seed value. The seed is generated from an OS-specific source (/dev/urandom on Unix-like systems, CryptGenRandom on Windows).

Wondering how you enable the use of a hardware random number generator in Node.js.




Aucun commentaire:

Enregistrer un commentaire