Ralph Schindler-2 wrote:
>
> How much work on top of bcmath and the pecl/big_int is this kind of
> feature.
> Also, out of curiosity- what are the use cases for big int?
>
> I also presume that the implementation would have to take 64bit machines
> into account?
When you say use case, do you mean for BigInteger's, in general, or for the
big_int pecl extension? My last post assumed you were talking about the
pecl extension although it now occurs to me that maybe you weren't. If not,
then I assume you're wanting to know the applications of BigInteger's? If
so, I'd say there are several. RSA, DSA, and Diffie-Hellman are the big
ones. You can do these with small integers, however, in doing so, you
sacrifice a lot of security as there's a *lot* less key space to brute
force. Indeed, those protocols that require RSA or Diffie-Hellman (OpenID,
Shibboleth, SSH, SSL, Tor, etc) require huge numbers - on the order of 1024
bits or 300 decimal digits.
--
View this message in context:
http://www.nabble.com/pure-PHP-BigInteger-support-tp22068811p22217244.html
Sent from the Zend Framework mailing list archive at Nabble.com.