[PHP] RC4 Encryption / Decryption Class

2001-01-23 Thread Mukul Sabharwal
Hi, I've made a small class that adds RC4 encryption functionality to those versions of PHP which don't have mycrypt either installed or the specific version for RC4 is not installed. It's a class that simply requires you to pass some parameters, like key, and the plaintext, and an optional decr

[PHP] RC4 Encryption / Decryption Class

2001-01-23 Thread Mukul Sabharwal
Hi, I've attempted to add RC4 encryption / decryption facility in PHP. It's been tested on PHP4. It handles all the XORing and conversions while encrypting and decrypting also all urlencoding and decoding. It's been pretty fast also. I've written a tutorial on it, whatever it is : http://www.de