Re: [RFC] [DISCUSSION] Reliable user-land CSPRNG
| From: | Pierre Joye | Date: | Tue, 24 Feb 2015 10:55:07 +0000 |
| Subject: | Re: [RFC] [DISCUSSION] Reliable user-land CSPRNG | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83650@lists.php.net to get a copy of this message | ||
It should use the session.entropy_file setting as it aims to be the exact
same thing. It also allows custom entropy src (better ones for higher
demands) as well.
On Feb 23, 2015 10:36 PM, "Sammy Kaye Powers" <me@sammyk.me> wrote:
> The RFC to add a user-land API for an easy-to-use and reliable CSPRNG in
> PHP is up for discussion:
> https://wiki.php.net/rfc/easy_userland_csprng
>
> This proposes adding two methods:
random_bytes() and
> random_int() that
> return cryptographically secure pseudo-random data.
>
> This has been quite a team effort so far and would love to hear your
> feedback! :)
>
> Thanks,
> Sammy Kaye Powers
> sammyk.me
>
> 230 S Clark St #194
> Chicago, IL 60604
>