Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9b29be6

Browse filesBrowse files
nabeel378aduh95
authored andcommitted
doc: note non-monotonic clock in crypto.randomUUIDv7
Signed-off-by: nabeel378 <mohammadnabeeljameel@gmail.com> PR-URL: #62600 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 4a7ad93 commit 9b29be6
Copy full SHA for 9b29be6

1 file changed

+3-1Lines changed: 3 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+3-1Lines changed: 3 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -5843,7 +5843,9 @@ added: REPLACEME
58435843
Generates a random [RFC 9562][] version 7 UUID. The UUID contains a millisecond
58445844
precision Unix timestamp in the most significant 48 bits, followed by
58455845
cryptographically secure random bits for the remaining fields, making it
5846-
suitable for use as a database key with time-based sorting.
5846+
suitable for use as a database key with time-based sorting. The embedded
5847+
timestamp relies on a non-monotonic clock and is not guaranteed to be strictly
5848+
increasing.
58475849

58485850
### `crypto.scrypt(password, salt, keylen[, options], callback)`
58495851

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.