Phobos randomUUID is not suitable to generate secrets
wjoe
invalid at example.com
Mon Aug 31 14:25:49 UTC 2020
On Monday, 31 August 2020 at 14:14:12 UTC, Cym13 wrote:
> On Monday, 31 August 2020 at 14:02:00 UTC, wjoe wrote:
>> On Monday, 31 August 2020 at 07:49:24 UTC, Cym13 wrote:
>> 2) Add a Warning to the docs and the use of the function that
>> says something like: "A Universally Unique Identifier (UUID)
>
> It's not a bad battleplan even though a warning at function use
> might be a bit cumbersome :)
This is true and on purpose. Originally I had
2) Add a Warning to the docs *and/or* the use of the function ...
But people may not read the docs daily/retroactively and how to
make people aware of problems in existing and forgotten code
otherwise ?
> [1] https://docs.python.org/3/library/secrets.html
This looks really good.
More information about the Digitalmars-d
mailing list