Re: Crypt base class for initial revew
| From: | Christian Dickmann | Date: | Sun, 16 Feb 2003 11:34:52 +0000 |
| Subject: | Re: Crypt base class for initial revew | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13369@lists.php.net to get a copy of this message | ||
> There are three files in the zip, in a directory structure. In the
> Ciphers folder there is my DES algorithm implemented as a module for the
> Crypt base class, as well as a skeleton class for others to use as a
> framework. Check the usage in the comments of crypt.php and give it a
> whirl. Comments, questions, etc please.
Ok. First of all your Crypt::Crypt can't work.
The include is only done of mcrypt extension is loaded.
Then your approach is too specific for DES. Wouldn't work
with RSA at all. Please see my RSA class
http://dickmann.homeunix.org/pear/pear/Crypt_RSA/RSA.php?source
Christian Dickmann