We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 503370e commit a06d129Copy full SHA for a06d129
doc/api/crypto.md
@@ -1713,7 +1713,8 @@ console.log(
1713
`${buf.length} bytes of random data: ${buf.toString('hex')}`);
1714
```
1715
1716
-The `crypto.randomBytes()` method will block until there is sufficient entropy.
+The `crypto.randomBytes()` method will not complete until there is
1717
+sufficient entropy available.
1718
This should normally never take longer than a few milliseconds. The only time
1719
when generating the random bytes may conceivably block for a longer period of
1720
time is right after boot, when the whole system is still low on entropy.
0 commit comments