Re: unify entropy source for all php related functions

From: 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 [email protected] to get a copy of this message
On Feb 14, 2014 8:02 PM, "Andrey Andreev" <[email protected]> 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).


Thread (32 messages)

« previous php.internals (#72598) next »