diff options
author | Yusuke Endoh <[email protected]> | 2023-12-12 15:35:59 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-12-12 06:36:10 +0000 |
commit | cb93d10ae559b0cf0f0935ddc1cc50dda65c6df8 (patch) | |
tree | 659a71dbff7cf28bb79ceaa17992158c2bd2da35 /lib/random | |
parent | f49af3c969eb7ba9937514a229b49e5b7d91f0f1 (diff) |
[ruby/securerandom] [DOC] Improve the document about reproducibility of uuid_v7
https://github.com/ruby/securerandom/pull/19/files#r1329476195
https://github.com/ruby/securerandom/commit/156cbb8448
Diffstat (limited to 'lib/random')
-rw-r--r-- | lib/random/formatter.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/random/formatter.rb b/lib/random/formatter.rb index 7fe7785e1a..e7ee4db7c0 100644 --- a/lib/random/formatter.rb +++ b/lib/random/formatter.rb @@ -201,9 +201,8 @@ module Random::Formatter # # 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. |