Has it been Pwned
MathTheoretical impact

Salsa20 and ChaCha: attacks stall far short of full rounds

Aumasson, Fischer, Khazaei, Meier and Rechberger (FSE 2008) introduced probabilistic neutral bits and broke Salsa20 reduced to 8 rounds and ChaCha reduced to 7 rounds with complexities around 2^250. Seventeen years of refinement have only edged this forward: the best 7-round ChaCha key recovery is about 2^206.8 (Bellini et al., ToSC 2023) and Salsa20/8 about 2^186 (Dey, Maitra, Sarkar, Sharma, ToSC 2025), against 20 rounds in the deployed ciphers.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken math. This entry concerns mathematics, algorithm design or parameter justification. Its stated scope distinguishes an attack from a defect in a security argument; a proof or accounting error alone does not establish practical key recovery.

Background

Daniel J. Bernstein's Salsa20 (an eSTREAM portfolio winner) and its 2008 variant ChaCha are ARX stream ciphers that replaced RC4 in TLS (ChaCha20-Poly1305, RFC 7539/8439), WireGuard, SSH and many mobile stacks. The security margin is large: published attacks reach roughly a third of the rounds with work factors that are wildly impractical.

They are included as 'survivors' for contrast with RC4. The practical risks around ChaCha20 are nonce reuse and implementation errors, not the core permutation. Like AES-256, 256-bit ChaCha20 keys leave a comfortable margin against Grover-style quantum search.

Sources

  1. paperNew Features of Latin Dances: Analysis of Salsa, ChaCha, and Rumba (ePrint 2007/472, FSE 2008)IACR ePrint, eprint.iacr.org
  2. paperBoosting Differential-Linear Cryptanalysis of ChaCha7 with MILP (ToSC 2023(2))IACR ToSC, tosc.iacr.org
  3. paperSignificantly Improved Cryptanalysis of Salsa20 With Two-Round Criteria (ePrint 2025/289, ToSC 2025)IACR ePrint, eprint.iacr.org
  4. standardRFC 8439: ChaCha20 and Poly1305 for IETF ProtocolsIETF, rfc-editor.org