Re: PRNG: Raise warning and/or provide better pseudo random generator?
| From: | Scott Arciszewski | Date: | Mon, 22 Feb 2016 22:14:44 +0000 |
| Subject: | Re: PRNG: Raise warning and/or provide better pseudo random generator? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91350@lists.php.net to get a copy of this message | ||
On Mon, Feb 22, 2016 at 4:42 PM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> Hi Andrey,
>
> On Tue, Feb 23, 2016 at 6:38 AM, Andrey Andreev <narf@devilix.net> wrote:
>> On Mon, Feb 22, 2016 at 11:30 PM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>>>
>>>
>>> IMO, we should provide better pseudo random generators than now.
>>
>>
>> We already have a better PRNG in random_int().
>
> randon_int() is _not_ a alternative of rand()/mt_rand() as they cannot
> produce the same pseudo random numbers. e.g. Games etc requires
> the same pseudo random numbers.
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohgaki@ohgaki.net
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Have I shared this here?
https://github.com/paragonie/seedspring
Warning: May summon Cthulhu if deployed to production.
Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises <https://paragonie.com>