When it comes to cryptography, there's basically no reason to not always use a CSPRNG.
PHP 7 ships with random_bytes()
and random_int()
for this exact purpose. For PHP 5 projects, check out the random_compat polyfill.
Category | ⇒ | Libraries |
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-11-11 01:39:46 |
Closed_By | ⇒ | mbabker |
See #8351