Re: [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0
| From: | Pierre Joye | Date: | Mon, 24 Aug 2015 07:35:28 +0000 |
| Subject: | Re: [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87889@lists.php.net to get a copy of this message | ||
On Aug 24, 2015 9:38 AM, "Scott Arciszewski" <scott@paragonie.com> wrote:
>
>
> There is no /dev/urandom on the Windows operating system, so that
> system is not universal.
For tge record, all version of crypto safe RNG (at least mcrypt and
openssl) use the windows crypto API since some time already.
I did not check the code in random_int but I suppose or hope it does (using
the PHP wrapper around it), so any improvement will be available in all
related areas.