Login | Packages | Support | Bugs 

Top Level :: Math :: big_int

big_int 1.0.5

Package Information
Summary big_int library provides a set of functions for calculations with arbitrary length integers and bitsets
Maintainers Alexander Valyalkin <valyala@gmail.com> (lead) [details]
License see LICENSE
Description Functions from this package are useful for number theory
applications. For example, in two-keys cryptography.

See /tests/RSA.php in the package for example of simple
implementation of RSA-like cryptoalgorithm.
See http://pear.php.net/packages/Crypt_RSA/ project for
more complex implementation of RSA-like crypto, which
supports key generating, encrypting/decrypting, generating
and validating of digital sign.

The package has many bitset functions, which allow to work
with arbitrary length bitsets.

This package is much faster than bundled into PHP BCMath
and consists almost all functions, which are implemented
in PHP GMP extension, but it needn't any external libraries.
Homepage http://valyala.narod.ru/big_int/
Release notes
Version 1.0.5
(stable)
* significantly improved speed of bi_to_str() function (up to 30 times for base = 2)
* fixed bug in big_int_to_str() function, which sometimes returned wrong result for negative numbers

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
 [ Package Bugs ]
[ Report new bug ]

Dependencies for release 1.0.5
No dependencies registered.
PRIVACY POLICY | CREDITS
Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 08:05:03 2013 UTC
Bandwidth and hardware provided by: pair Networks