| • Science | • People | • Locations | • Timeline |
In cryptography, RC4 (or ARCFOUR) is the most widely-used software stream cipher and is used in popular protocols such as Secure Sockets Layer (SSL) (to protect Internet traffic) and WEP (to secure wireless networks). RC4 falls short of the high standards of security set by cryptographers, and some ways of using RC4 lead to very insecure cryptosystems (including WEP). It is not recommended for use in new systems. However, some systems based on RC4 are secure enough for practical use.
RC4 was designed by Ron Rivest of RSA Security in 1987; while it is officially termed "Rivest Cipher 4", the RC acronym is alternatively understood to stand for "Ron's Code" (see also RC2, RC5 and RC6).
RC4 was initially a trade secret, but in September 1994 a description of it was anonymously posted to the Cypherpunks mailing list. It was soon posted on the sci.crypt newsgroup, and from there to many sites on the InternetThis article is about the Internet the extensive, worldwide computer network available to the public. An internet is a more general term for a set of interconnected computer networks that are connected by internetworking''. WWW information network structu. Because the algorithm is known, it is no longer a trade secret. The name "RC4" is trademarkSee also: brand Bass Red Triangle, was the first trademark registered in Britain in 1876. A trademark ( Commonwealth English: trade mark is a distinctive name, phrase, symbol, design, picture, or style used by a business to identify itself and its producted, however. The current status seems to be that "unofficial" implementations are legal, but cannot use the RC4 name. RC4 is often referred to as "ARCFOUR", to avoid possible trademark problems. It has become part of some commonly used encryption protocols and standards, including WEP and WPAWi-Fi Protected Access (WPA is a system to secure wireless ( WiFi) networks, created to patch the security of the previous system, WEP (Wired Equivalent Privacy); researchers have found a number of weaknesses in WEP. As a replacement, WPA implements part for wireless cards and SSLSecure Sockets Layer SSL and Transport Layer Security TLS , its successor, are cryptographic protocols which provide secure communications on the Internet. Description These protocols provide endpoint authentication and communications privacy over the Int.
RC4 generates a pseudorandom stream of bits (a "keystream") which, for encryption, is combined with the plaintext using XOR as with any Vernam cipher; decryption is performed the same way. To generate the keystream, the cipher makes use of a secret internal state which consists of two parts:
The permutation is initialised with a variable length key, typically between 40 and 256 bits, using the key-scheduling algorithm (KSA). Once this has been completed, the stream of bits is generated using the pseudo-random generation algorithm (PRGA).