Am 01.09.2013 15:12, schrieb Jakub Zelenka:
> The whole proposal is a bit confusing for me. The combination of PRNG
> algorithm (MT) with libraries (libc, OpenSSL, GMP) that implements one or
> more PRNG algorithms just doesn't make sense to me. It doesn't say anything
> about the speed and crypto strength of the algorithms. I think that much
> better solution would be an extension that implements a couple of
> algorithms. Then you could select what algorithm you want to use. The good
> idea would be to have some reasonable default algorithm that would be used
> if the user doesn't know anything about algorithms. This could be
> implemented as an extension and if it's good enough then it could be
> proposed as the core addition.

Agree, libc, openssl etc. are not algorithms and the name should reflect
the used algorithm not the name of the library.

Implementing it as an extension is ok - but the proposal also was to
have more possibilities without bc using the default build-in functions.

Additionally it would be great to have one standard API other extension
can attach it's own algorithm to.

Marc

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to