New Package: Crypt_RSA
| From: | Christian Dickmann | Date: | Thu, 02 Jan 2003 12:15:44 +0000 |
| Subject: | New Package: Crypt_RSA | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-12014@lists.php.net to get a copy of this message | ||
Hi,
I am near finishing a class capable of encrypting/decrypting of
string message with RSA algorithm. RSA keys can be generated
with variable number of bits, Keys can be saved to file and loaded
from file, plain text messages can be encoded and then encrypted
or signed. Signed/Encrypted messages can be decrypted/verified
and decoded to the original plain text message.
At the moment, Crypt_RSA uses ext/gmp (http://www.php.net/gmp).
Code can be found here:
http://dickmann.homeunix.org/pear/pear/Crypt_RSA/RSA.php?source
I will need to add errorhandling and autosplitting of messages, which
are to long (this depends on the key length).
The Code after the class is a example of a Socket Server which
uses digital signatures and encryption of passwords.
Any Ideas/Comments/+1? ;)
Christian Dickmann