RootCauseunvalidated
In Node.js, the `crypto.randomBytes` function comes from OpenSSL's CSPRNG — which is a well-known, tested design (an AES-CTR DRBG), seeded from the operating system's CSPRNG. Tension: If you tried to do your own entropy collection, you'd probably wouldn't end up doing a very good job. Outcome: most cryptographers recommend using the operating system's CSPRNG.
d22c68f2-bc77-4206-a50b-195df6110a1d
In Node.js, the crypto.randomBytes function comes from OpenSSL's CSPRNG — which is a well-known, tested design (an AES-CTR DRBG), seeded from the operating system's CSPRNG. Tension: If you tried to do your own entropy collection, you'd probably wouldn't end up doing a very good job. Outcome: most cryptographers recommend using the operating system's CSPRNG.