Re: [RFC] Make uniqid() more unique

From: Date: Fri, 09 Sep 2016 08:46:49 +0000
Subject: Re: [RFC] Make uniqid() more unique
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-95833@lists.php.net to get a copy of this message
On 09/09/16 06:12, Yasuo Ohgaki wrote: > I would like to > - Enable more entropy parameter on by default > - Add 256 bits random value (64 chars by HEX) from > php_random_bytes() instead of 1 char from php_combined_lcg() > > If all of us think "just fix it", then I'll just fix this in master w/o RFC. The problem with 'fixing it' is perhaps what are all the requirements. Certainly I use a version supplied with Firebird which as been 'fixed' so that indexing produces a much more even spread across the search tree. I will not pretend to understand all the details, but the results are demonstrable. I presume similar methods are used by the other database engines, so would it be worth seeing if there is some common 'fix' which gives good results across a few databases. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#95833) next »