RC4Crypt (available from
http://www.devhome.net/php/
) is a class that extends PHP's capabilities and adds RC4 encryption to it. It handles everything internally. Simple function call does it all and is very fast.