RC4 in C
John Allen wrote this smaller version of rc4 in C which takes a hex key as
it's argument.
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey
The usage is the same as the rc4 in perl, and
the (uncompacted) rc4 in C, that is:
% rc4 hexkey < input > output
Compile it like this:
% gcc -o rc4 -O4 rc4.c
This is lots faster than rc4 in perl.
Comments, html bugs to me
(Adam Back) at
<adam@cypherspace.org>