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 1684ab8

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 67e0ac5 commit 1684ab8
Copy full SHA for 1684ab8

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
@@ -5822,7 +5822,9 @@ added: REPLACEME
58225822
Generates a random [RFC 9562][] version 7 UUID. The UUID contains a millisecond
58235823
precision Unix timestamp in the most significant 48 bits, followed by
58245824
cryptographically secure random bits for the remaining fields, making it
5825-
suitable for use as a database key with time-based sorting.
5825+
suitable for use as a database key with time-based sorting. The embedded
5826+
timestamp relies on a non-monotonic clock and is not guaranteed to be strictly
5827+
increasing.
58265828

58275829
### `crypto.scrypt(password, salt, keylen[, options], callback)`
58285830

0 commit comments

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