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 [email protected] to get a copy of this message
On Fri, Feb 7, 2014 at 12:31 PM, Tjerk Meesters
<[email protected]> 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


Thread (8 messages)

« previous php.internals (#72376) next »