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 6540e99 commit 4c26913Copy full SHA for 4c26913
doc/api/crypto.md
@@ -1540,7 +1540,8 @@ console.log(
1540
`${buf.length} bytes of random data: ${buf.toString('hex')}`);
1541
```
1542
1543
-The `crypto.randomBytes()` method will block until there is sufficient entropy.
+The `crypto.randomBytes()` method will not complete until there is
1544
+sufficient entropy available.
1545
This should normally never take longer than a few milliseconds. The only time
1546
when generating the random bytes may conceivably block for a longer period of
1547
time is right after boot, when the whole system is still low on entropy.
0 commit comments