5 ms·
FWIW, the information in this article is out of date. For example, as the article picks on PHP, PHP now uses the Mersenne Twister for regular rand(), and gives
by McGlockenshire 6y ago
FWIW, the information in this article is out of date.
For example, as the article picks on PHP, PHP now uses the Mersenne Twister for regular rand(), and gives access to a CSPRNG through random_int() and random_bytes(). By "now" here I mean as of five years ago.
It's still important for developers to understand the "P" in PRNG, but at least we have less possible foot-shooting by default in PHP now. (Evergreen statement!)