Skip to content

Commit

Permalink
[ruby/securerandom] [DOC] Improve the document about reproducibility …
Browse files Browse the repository at this point in the history
  • Loading branch information
mame authored and matzbot committed Dec 12, 2023
1 parent f49af3c commit cb93d10
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/random/formatter.rb
Expand Up @@ -201,9 +201,8 @@ def uuid
#
# The result contains 74 random bits (9.25 random bytes).
#
# Note that this method cannot be made reproducable with Kernel#srand, which
# can only affect the random bits. The sorted bits will still be based on
# Process.clock_gettime.
# Note that this method cannot be made reproducable because its output
# includes not only random bits but also timestamp.
#
# See draft-ietf-uuidrev-rfc4122bis[https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/]
# for details of UUIDv7.
Expand Down

0 comments on commit cb93d10

Please sign in to comment.