2 ms·
That may be, but having the default generator be non-cryptographic has been the conventional design choice in languages since the dawn of time. I would get the
by tptacek 2y ago
That may be, but having the default generator be non-cryptographic has been the conventional design choice in languages since the dawn of time. I would get the willies seeing security-sensitive code using "Random()" even if you told me in your language "Random()" was a CSPRNG.
- foooorsyth 2y agoI don’t think you should have to hold the entire canon of programming history in your head to avoid these types of footguns. Conventional design choices of the past that lead to bugs and security vulnerabilities should be replaced.