rc4 Algorithm

In cryptanalysis, RC4 (Rivest cipher 4 also known as ARC4 or ARCFOUR meaning Alleged RC4, see below) is a stream cipher. IETF has published RFC 7465 to prohibit the purpose of RC4 in TLS; Mozilla and Microsoft have issued like recommendations. The leaked code was confirmed to be genuine as its output was found to match that of proprietary software use licensed RC4. The name RC4 is trademarked, so RC4 is often referred to as ARCFOUR or ARC4 (meaning alleged RC4) to avoid trademark problems. RC4 was designed by Ron Rivest of RSA security in 1987.

rc4 source code, pseudocode and analysis