Re: unify entropy source for all php related functions
| From: | Pierre Joye | Date: | Fri, 14 Feb 2014 13:53:00 +0000 |
| Subject: | Re: unify entropy source for all php related functions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-72598@lists.php.net to get a copy of this message | ||
On Feb 14, 2014 8:02 PM, "Andrey Andreev" <narf@devilix.net> wrote:
> So how does openssl_random_pseudo_bytes() work without blocking then?
Because it tells you if the result is crypto safe or not:
string *openssl_random_pseudo_bytes* (int $length [, bool &$crypto_strong] )
If you want only crypto safe result another function has to be used (on
opennssl).