Skip to content

Commit 4350bf5

Browse files
srknzltargos
authored andcommitted
doc: mention cryptographic prng in description of randomUUID
PR-URL: #38074 Refs: #36729 Reviewed-By: Rich Trott <[email protected]>
1 parent ce70ea8 commit 4350bf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/crypto.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2853,7 +2853,8 @@ added: REPLACEME
28532853
`disableEntropyCache` to `true`. **Defaults**: `false`.
28542854
* Returns: {string}
28552855

2856-
Generates a random [RFC 4122][] Version 4 UUID.
2856+
Generates a random [RFC 4122][] Version 4 UUID. The UUID is generated using a
2857+
cryptographic pseudorandom number generator.
28572858

28582859
### `crypto.scrypt(password, salt, keylen[, options], callback)`
28592860
<!-- YAML

0 commit comments

Comments
 (0)