Crypt_RC4
| From: | Matthew Fonda | Date: | Sun, 03 Apr 2005 23:10:41 +0000 |
| Subject: | Crypt_RC4 | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-2664@lists.php.net to get a copy of this message | ||
Hello,
I was wondering if anyone knew the status of the Crypt_RC4 package.
There have been no new releases for around a year or two now, and no CVS
commits for about 8 months.
There is a few issues with the package. The package is called Crypt_RC4,
yet files and class are called Rc4, which you would expect to be RC4. I
think all should be the same, so it all should be either Crypt_RC4 or
Crypt_Rc4, I think RC4 is more appropriate.
Also, there is some inconsistency in how keys are set. The documentation
(comments in the files) gives some example code, but it is not correct,
and does not work.
The code in CVS is now PHP5 only code instead of PHP4 as the current
release it. I don't see any reason at all to make the package require
PHP5, there is nothing the PHP5 code does that can't be done in PHP4.
This only makes it so fewer people can use the code.
Also, the CVS code does not even work, the provided tests fail because
the code is broken, and it breaks BC with the current release.
There is a lot of improvements in the code in CVS, so I would like to
see a new release rolled with some of the improvements in the CVS code
(except get rid of the PHP5 dependency), and come up for a solution for
the inconsistency in naming (RC4/Rc4). It would also be nice to fix the
documentation it provides with a working example.
I have tried contacting the author about this but got no response. I
would be willing to fix up these few things and get a new release rolled
if it seems necessary. Or if anyone else would like to, that would be
great too.
Regards,
Matthew Fonda