Skip to content

Commit 051743c

Browse files
srknzlTrott
authored andcommitted
doc: mention cryptographic prng in description of randomUUID
1 parent 95ca351 commit 051743c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/crypto.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4732,7 +4732,8 @@ added: v15.6.0
47324732
**Default:** `false`.
47334733
* Returns: {string}
47344734

4735-
Generates a random [RFC 4122][] Version 4 UUID.
4735+
Generates a random [RFC 4122][] Version 4 UUID. The UUID is generated using a
4736+
cryptographic pseudorandom number generator.
47364737

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

0 commit comments

Comments
 (0)