Stream cipher
RC4
Keystream biases broke WEP in minutes and TLS in days; banned from TLS in 2015.
Broken
Deployment assessment
Do not select for new protection
Replace for new encryption.
- Intended use
- Legacy symmetric encryption.
- Conditions
- A small block size, exhausted key space and biased keystream are different failure mechanisms. Legacy decryption requirements should be isolated from new protection.
- Compare next
- AES-256 ↗ChaCha20-Poly1305 ↗
Guidance reviewed 19 Oct 2026. Deployment guidance and linked specification checked; this is not a new exhaustive cryptanalysis survey. How to read this assessment.
RC4 in real systems
Read dated observations, supported options and migration guidance.
RC4 can survive a change to Kerberos defaults →Cryptanalytic assessment
A mathematical break: the keystream is measurably biased and related keys leak. Fluhrer, Mantin and Shamir broke WEP in 2001, and statistical attacks recovered TLS cookies by 2013 to 2015. RFC 7465 prohibited RC4 in TLS.
- Quantum
- Not applicable. Already broken classically.
- Names and historical labels
- ARC4, ARCFOUR, RC4-128
Standards and construction references
Evidence for the verdict
- Math(the math)Fluhrer-Mantin-Shamir: RC4 key scheduling leaks key bytesScott Fluhrer, Itsik Mantin and Adi Shamir (SAC 2001) showed that RC4's key scheduling algorithm leaves large classes of weak keys and that, when a known value such as an IV is concatenated with a secret key, the first keystream bytes leak information about the secret. With enough related keys the full secret key can be recovered.
- Math(the math)RC4 keystream biases enable plaintext recovery in TLSAlFardan, Bernstein, Paterson, Poettering and Schuldt showed that statistical biases throughout RC4's keystream allow ciphertext-only recovery of plaintext repeatedly encrypted in TLS. Using single-byte biases in the first 256 bytes, some bytes can be recovered after 2^24 sessions and most reliably after about 2^30; a double-byte-bias attack recovers 16 bytes at any position after roughly 10·2^30 encryptions.
- MilestoneRFC 7465 prohibits RC4 in TLSThe IETF published RFC 7465 (Andrei Popov, Microsoft), a Standards Track document requiring that TLS clients not offer and servers not select RC4 cipher suites in any TLS version. Major browsers removed RC4 support in early 2016.
- Math(the math)RC4 NOMORE: cookie decryption in 52 hoursMathy Vanhoef and Frank Piessens (KU Leuven) combined new and known RC4 biases to decrypt a 16-character HTTPS cookie with 94% success from about 9·2^27 encryptions, estimating 75 hours and achieving it in 52 hours in practice. Against WPA-TKIP they recovered enough to inject and decrypt packets in about an hour.
Case file
Every event on file that names RC4.
7 case files, newest first.