Skip to content

Commit

Permalink
doc: mention cryptographic prng in description of randomUUID
Browse files Browse the repository at this point in the history
PR-URL: #38074
Refs: #36729
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
srknzl authored and targos committed May 1, 2021
1 parent ce70ea8 commit 4350bf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/crypto.md
Expand Up @@ -2853,7 +2853,8 @@ added: REPLACEME
`disableEntropyCache` to `true`. **Defaults**: `false`.
* Returns: {string}

Generates a random [RFC 4122][] Version 4 UUID.
Generates a random [RFC 4122][] Version 4 UUID. The UUID is generated using a
cryptographic pseudorandom number generator.

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

0 comments on commit 4350bf5

Please sign in to comment.