I've adapted an implementation of the RC4 algorithm (written in C by Sterling Camden and published under the Open Works License) to lite-C.

You can get it here:
http://www.gsportal.de/files/scripts/rc4.zip

It's pretty easy to use. A demo script is included.