IT lexicon › Security › RC4

RC4

Security På svenska → Updated: 2026-08-03
More info
Creator
Ron Rivest
Released
1987
Type
Stream cipher
Status
Prohibited in TLS since 2015

The stream cipher so small and fast it ended up everywhere — and so biased in its first bytes that it took WEP down with it.

Designed by Ron Rivest in 1987 and kept as a trade secret by RSA Security until someone leaked the source to the Cypherpunks list in 1994. The implementation fits in about fifty lines and needs neither padding nor block handling, which made it popular in WEP, WPA-TKIP and a large share of all TLS traffic through the 2000s.

The problem is that the first bytes of the keystream are not evenly distributed. Fluhrer, Mantin and Shamir showed in 2001 how that bias leaks key material when keys are related — which they were in WEP, so it could be broken in minutes. The IETF prohibited RC4 in TLS with RFC 7465 in 2015.

← Back to the lexicon