Re: unify entropy source for all php related functions

From: Date: Sat, 08 Feb 2014 04:50:49 +0000
Subject: Re: unify entropy source for all php related functions
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi all,

On Fri, Feb 7, 2014 at 8:42 PM, Tjerk Meesters <[email protected]>wrote:

> int random_integer($min, $max)
> string random_string($length, $crypto_safe)
>

I agree. This is better than

https://github.com/yohgaki/php-src/compare/PHP-5.6-rfc-random_bytes

as it can return unsafe mt_rand bytes. I'll improve it later.

Regards,

--
Yasuo Ohgaki
[email protected]


Thread (32 messages)

« previous php.internals (#72396) next »