note 113221 deleted from function.mt-rand by cmb
| From: | cmb@php.net | Date: | Sun, 19 Jan 2020 08:42:44 +0000 |
| Subject: | note 113221 deleted from function.mt-rand by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213923@lists.php.net to get a copy of this message | ||
Note Submitter: hofmann dot johannes at gmail dot com
----
/dev/urandom provides high entropy, but it is important to remember that it is created by collecting
random os garbage from memory - if not enough of that garbage is created reading the file will just
block the whole process until there is enough entropy to generate the requested random bytes. in
debian-based setups, the rng-tools package can be used to manage entropy.