-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Add pseudo random number generator info to randomUUID #38074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
alternatively we can say "The UUID is generated using a cryptographically strong pseudo random number generator." as in the case of javadoc of randomUUID java method https://docs.oracle.com/javase/7/docs/api/java/util/UUID.html#randomUUID() |
|
I'd remove the word "strong" to be honest. While it may be clear to those who are very familiar with pseudo-random number generators, I'd suspect that it's fairly meaningless to most developers. "The UUID is generated using a cryptographic pseudo-random number generator" would be just fine I think. |
75650f2 to
051743c
Compare
PR-URL: nodejs#38074 Refs: nodejs#36729 Reviewed-By: Rich Trott <[email protected]>
051743c to
993a1da
Compare
|
Landed in 993a1da |
PR-URL: #38074 Refs: #36729 Reviewed-By: Rich Trott <[email protected]>
PR-URL: #38074 Refs: #36729 Reviewed-By: Rich Trott <[email protected]>
Hello, 😊 !
As far as I understand, recently added function
crypto.randomUUIDis cryptographically strong. I think it's better to mention it in the docs.ref: #36729