Top Level :: Encryption

Package Information: Crypt_RSA

Show All Changelogs
» Version » Information
1.2.0bDownload

Release date: 2006-02-28 21:20 UTC
Release state: beta

Changelog:

* added toPEMString() function in Crypt_RSA_KeyPair class. It allows to store keypair in .pem file as RSA private key
* added isEqual() function in Crypt_RSA_KeyPair class. It returns true if two keypairs are equal
* added mod() and isPrime() functions to math wrappers interface
* fixed bug in getPrime() function of GMP and BCMath math wrappers, which hangs up key generating process
* added optional $random_generator parameter to Crypt_RSA_KeyPair constructor and factory() method
* added benchmark in tests/bench.php, which clearly shows performance of different math wrappers (GMP, BigInt, BCMath). In short: GMP is 5 times faster than BigInt, BCMath is 50 times slower than BigInt.

Dependencies:
  • PHP Extension: bcmath (optional)
  • PHP Extension: gmp (optional)
  • PEAR Package: big_int 1.0.3 or newer (optional)
1.1.0bDownload

Release date: 2006-02-26 06:56 UTC
Release state: beta

Changelog:

* added fromPEMString() function in Crypt_RSA_KeyPair class. This function allows to retrieve RSA keypair from PEM-encoded strings. Thanks to all the people who sponsored .pem developement
* modified key generation algorithm
* added optional 'error_handler' parameter to factory() methods in all classes
* modified math wrapper interface: isZero(), nextPrime() and getRand() substituted by isOne() and getPrime() functions

Dependencies:
  • PHP Extension: bcmath (optional)
  • PHP Extension: gmp (optional)
  • PEAR Package: big_int 1.0.3 or newer (optional)
1.0.0Download

Release date: 2005-05-11 16:22 UTC
Release state: stable

Changelog:

* it is the first stable release of the package
* added optional $math_wrapper parameter to Crypt_RSA, Crypt_RSA_Key and Crypt_RSA_KeyPair constructors. It allows to catch errors by user's error handler during objects construction
* updated documentation in docs/Crypt_RSA/docs folder. But it is still very ugly ;)

Dependencies:
  • PHP Extension: bcmath (optional)
  • PHP Extension: gmp (optional)
  • PEAR Package: big_int 1.0.3 or newer (optional)
1.0.0RC6Download

Release date: 2005-04-21 20:31 UTC
Release state: beta

Changelog:

+ added math wrapper for PHP GMP extension. See http://php.net/gmp for details about that extension.
* fixed many small bugs. I do not remember all of them ;)

Dependencies:
  • PHP Extension: bcmath (optional)
  • PHP Extension: gmp (optional)
  • PEAR Package: big_int 1.0.3 or newer (optional)