UUIDs generated by randomUUID() use the random numbers from std.random, granted with an unpredictableSeed, but from a fundamentally insecure and low entropy source.
As per the latest UUID RFC, RFC-8562, Section 8 this should at least have the option of using an actual quality entropy source.
https://www.rfc-editor.org/rfc/rfc9562.html in section 8 says:
"Instead CSPRNG data SHOULD be selected from a source with sufficient entropy to ensure guaranteed uniqueness among UUID generation."
Comment #1 by dfj1esp02 — 2024-11-25T09:49:06Z
There's an overload that accepts an RNG
---
UUID randomUUID(RNG)(ref RNG randomGen);
---