Re: Re: Improving mt_rand() seed
| From: | Yasuo Ohgaki | Date: | Mon, 30 Jan 2017 10:47:31 +0000 |
| Subject: | Re: Re: Improving mt_rand() seed | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98040@lists.php.net to get a copy of this message | ||
Hi Lauri,
On Mon, Jan 30, 2017 at 7:41 PM, Lauri Kenttä <lauri.kentta@gmail.com>
wrote:
> On 2017-01-30 04:25, Yasuo Ohgaki wrote:
>
>> I'll prepare patch that allows int array
>> initialization for mt_srand() so that whole state buffer can be
>> initialized as user specifies.
>>
>
> Don't.
>
> See these:
> https://github.com/php/php-src/pull/2089
>
> https://www.mail-archive.com/internals@lists.php.net/msg87590.html
Nice!
Thank you for letting me know.
BTW, do you have good idea for the seeding issue?
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net