Re: Re: [RFC][DISCUSSION] Improve uniqid() uniqueness
| From: | Niklas Keller | Date: | Tue, 18 Oct 2016 07:16:23 +0000 |
| Subject: | Re: Re: [RFC][DISCUSSION] Improve uniqid() uniqueness | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96411@lists.php.net to get a copy of this message | ||
Yasuo Ohgaki <yohgaki@ohgaki.net> schrieb am Di., 18. Okt. 2016, 08:47:
> Hi Niklas,
>
> On Tue, Oct 18, 2016 at 3:36 PM, Niklas Keller <me@kelunik.com> wrote:
> > Yasuo Ohgaki <yohgaki@ohgaki.net> schrieb am Di., 18. Okt. 2016, 02:21:
> >>
> >> Hi all,
> >>
> >> I committed this patch that simply use php_random_bytes() w/o any BC.
> >
> >
> > Doesn't this throw now in some environments where /dev/urandom isn't
> > readable?
>
> It could happen, but such system should not be used now a days.
>
Sure, but it did happen that shared hosts block it, noticed during
random_compat adoption.
You claimed there isn't any BC break.
Regards, Niklas
Regards,
>
> --
> Yasuo Ohgaki
> yohgaki@ohgaki.net
>