Re: Make mcrypt_create_iv() an alias and move the code into /ext/standard

From: Date: Fri, 07 Feb 2014 11:32:37 +0000
Subject: Re: Make mcrypt_create_iv() an alias and move the code into /ext/standard
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-72376@lists.php.net to get a copy of this message
On Fri, Feb 7, 2014 at 12:31 PM, Tjerk Meesters <tjerk.meesters@gmail.com> wrote: > Speaking of which, it would be nice if session id generation depended on > this shiny new API as well ... basically we solve two problems: > > 1. An easy way to get a bunch of random bytes > 2. Centralize random number generation internally, i.e. session ids and > password salts are generated with it. > > I'm not sure whether this should extend to providing an easy way to > generate crypto safe random numbers, but that would obviously be nice if > feasible. See my other post today about unifying entropy source. We may discuss that there. -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#72376) next »