Re: Re: [RFC][DISCUSSION] Improve uniqid() uniqueness

From: Date: Tue, 18 Oct 2016 00:21:05 +0000
Subject: Re: Re: [RFC][DISCUSSION] Improve uniqid() uniqueness
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-96401@lists.php.net to get a copy of this message
Hi all, I committed this patch that simply use php_random_bytes() w/o any BC. http://git.php.net/?p=php-src.git;a=commitdiff;h=48f1a17886d874dc90867c669481804de90509e8 I thought there is php_random_int(), but it's not. So this is one of the best patch for this purpose. There is bug reports that request stronger uniqueness by default. I may address this issue, but I would like to fix other things for the time being. Regards, -- Yasuo Ohgaki

« previous php.internals (#96401) next »