Thread
:
simple file encryption library
View Single Post
Gene Poole
Contributor
12Feb2010,20:27
Well, RC4 is very simple to code in C. It's a stream cipher so once it is initialized, just grab a byte one at a time and XOR it with your plaintext.
There's a complete example here:
http://en.wikipedia.org/wiki/Rc4