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 Trott committed Apr 11, 2021
1 parent 95ca351 commit 993a1da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -4732,7 +4732,8 @@ added: v15.6.0
**Default:** `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 993a1da

Please sign in to comment.