Re: More powerful (and backward compatible) API of random number generator functions
| From: | Yasuo Ohgaki | Date: | Fri, 30 Aug 2013 02:30:43 +0000 |
| Subject: | Re: More powerful (and backward compatible) API of random number generator functions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68694@lists.php.net to get a copy of this message | ||
On Thu, Aug 29, 2013 at 9:00 PM, Ángel González <keisial@gmail.com> wrote:
> Marc Bennewitz wrote:
>
>> Idea for an RFC for a more powerful (and backward compatible) API of
>> random number generator functions.
>>
>> The following psaudocode is self explained (hopfully)
>>
>> const RAND_ALGO_LIBC
>> const RAND_ALGO_MERSENNE_TWISTER
>> const RAND_ALGO_OPENSSL
>> const RAND_ALGO_GMP
>>
> (...)
>
>> What do you think?
>>
>
> Why do you want them?
This proposal is good because we need the best random function available in
a system
with easy to use API. I would like to see the best algorithm in a system as
default.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net