by dwheeler · 4y ago · 0 comments
If you want cryptographically secure random numbers, you typically call a function with a different name, one that has "secure" or "crypto" in a name somewhere (e.g., in the function or containing module/package).
This is a convention from the 1950s and has been consistent ever since. That naming-convention ship sailed before many of us were born.
So, interestingly, "bad randomness" =/= deterministic.
(not that you were claiming that, just adding this subtlety to the mix)
Yes, I know how pseudo RNG works.
I just didn't realize this ran counter to doing secure crypto, so thanks for the explanation anyway :)