4 ms·
How does the quality of random_bytes() compare?
by jagged-chisel 3y ago
How does the quality of random_bytes() compare?
- djbusby 3y agoThe manual says it uses high-quality sources https://www.php.net/manual/en/function.random-bytes.php https://www.php.net/manual/en/function.random-bytes.php Edit: the PHP docs seem to meet the requirements from the article but, the article has a different recommendation (odd?, Maybe I missed something)
- some_furry 3y agoIt uses the OS's cryptographic RNG.