Re:Random Number Generator Recommendations for Applications
by jagged-chisel on Tuesday May 30, 2023 @05:05PM
(#36130786)
How does the quality of random_bytes() compare?
[ Parent
| on HN ]
Re:Random Number Generator Recommendations for Applications
by djbusby on Tuesday May 30, 2023 @05:30PM
(#36131148)
The manual says it uses high-quality sources
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)
Re:Random Number Generator Recommendations for Applications
by some_furry on Tuesday May 30, 2023 @10:39PM
(#36133858)
It uses the OS's cryptographic RNG.