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.0b 2006-02-26     beta
1.0.0 2005-05-11     stable
1.0.0RC6 2005-04-21     beta