Skip to main content
ARX Ciphers Aren't UnbreakableCryptography Fundamentals
5 min readFor Payment Security Engineers

ARX Ciphers Aren't Unbreakable

You've chosen an ARX-based cipher because it's fast, software-friendly, and grounded in strong cryptographic principles. Your team relies on it to protect payment sessions, encrypt cardholder data in transit, or secure API tokens. However, recent cryptanalysis of Forró, a cipher designed to enhance ChaCha's security margin, shows how quickly theoretical attacks can develop. The gap between "cryptographically sound" and "practically vulnerable" is closing faster than many security teams realize.

These myths persist because cryptographic security often seems binary: a cipher is either broken or it isn't. In reality, cryptanalysis progresses incrementally. A distinguisher that reaches 6.5 rounds today can become a key recovery attack tomorrow. Here's what payment security engineers need to understand about ARX cipher security in 2024.

Myth 1: "ARX Ciphers Are Immune to Linear Cryptanalysis"

Reality: Modern differential-linear techniques can penetrate ARX structures more deeply than traditional linear cryptanalysis alone.

The Forró cipher, using Addition-Rotation-XOR operations, was expected to resist linear attacks through its nonlinear addition operations. But researchers using Mixed-Integer Linear Programming (MILP) models demonstrated differential-linear distinguishers reaching 6.5 rounds, a full round beyond the previous 5.5-round record. The time complexity for that 6.5-round distinguisher is 2^226.88, which seems vast until you consider that computational power doubles regularly and attack techniques keep improving.

The practical implication: Don't assume your ARX cipher's resistance to one attack type means immunity to hybrid approaches. If you're using ChaCha20 for payment tokenization or session encryption, understand that related ciphers like Forró are seeing their security margins tested by automated cryptanalysis tools. These theoretical attacks won't compromise your systems today, but they indicate where research is heading.

Myth 2: "Higher Round Counts Equal Proportional Security Gains"

Reality: Attack complexity doesn't scale linearly with rounds, nor does your actual security margin.

Consider the progression of differential-linear distinguishers against Forró: the 4-round attack requires 2^32.44 operations, while the 5-round version jumps to 2^46. That's a 2^13.56 increase for one additional round. But from 6 rounds to 6.5 rounds, complexity leaps from 2^117.92 to 2^226.88, a 2^108.96 increase. Security gain per round varies depending on where the attack targets the cipher's structure.

When evaluating whether to use ChaCha20 (20 rounds) versus ChaCha12 (12 rounds) for a payment application, don't just divide the round count difference by two and assume a safety margin. Researchers achieved key recovery attacks on 6.75-round Forró with time complexity 2^251.97, approaching the full keyspace for some configurations. This happens at round counts where many teams assume they have ample headroom.

Myth 3: "Automated Tools Can't Find Complex Multi-Stage Attacks"

Reality: MILP models now automate the discovery of sophisticated attack paths that would take human cryptanalysts months to construct.

The MinForró model represents a shift in cryptanalysis. Instead of manually constructing differential trails and linear approximations, researchers encode the cipher's structure as optimization constraints and let the solver find optimal attack paths. The model identified 3-round differential trails for Forró, trails that human analysts hadn't previously discovered, and combined them with automated linear approximations to build the 6.5-round distinguishers.

For your team, this means the time between "cipher published" and "practical attack demonstrated" is shrinking. When selecting cryptographic primitives for a new payment gateway or evaluating a cipher migration, consider that automated cryptanalysis tools are improving at finding weaknesses faster. The cipher that seems solid today might have a published distinguisher in six months.

Myth 4: "Distinguishers Don't Matter Unless They Lead to Key Recovery"

Reality: Distinguishers reveal structural weaknesses that inform future attacks and undermine security proofs.

The 4-round and 5-round differential-linear distinguishers for Forró were implemented and verified on standard hardware. They don't extract keys, but they prove the cipher's output isn't behaving like a random oracle at those round counts. This matters because many security proofs assume pseudorandom behavior. When a distinguisher exists, those proofs collapse for the affected rounds.

Researchers then extended distinguishers into key recovery attacks using Probabilistic Neutral Bits (PNB) techniques, reaching 6.75 rounds with time complexity 2^251.97. The 5.5-round key recovery attack improved on previous work by a factor of 2^75.84, a massive leap. If you're building systems that depend on specific round counts for security, a distinguisher is your early warning that the security margin isn't what you calculated.

Myth 5: "ChaCha's Popularity Means It's Thoroughly Vetted"

Reality: ChaCha is well-analyzed, but related designs like Forró show that small structural changes create new attack surfaces.

Forró was designed to improve on ChaCha's security margin by modifying the round function and key schedule. Yet new differential-linear techniques found deeper attacks against Forró than exist for ChaCha at equivalent round counts. This doesn't mean ChaCha is vulnerable, it means cryptographic security is fragile and design variations matter enormously.

When implementing TLS 1.3 with ChaCha20-Poly1305 for payment API encryption, you're using a cipher with 20 rounds and extensive public analysis. That's good. But don't assume that security extends to custom implementations, reduced-round variants, or "ChaCha-inspired" designs without independent cryptanalysis. The Forró research shows that even ciphers designed by experienced cryptographers to be more secure can have unexpected weaknesses.

What to Do Instead

Stop treating cipher selection as a one-time decision. Establish a process to monitor cryptanalysis research for the primitives you depend on. When new attacks emerge, even theoretical ones, assess whether they affect your threat model.

For payment systems handling cardholder data, prioritize ciphers with extensive cryptanalysis history and conservative round counts. ChaCha20's 20 rounds provide substantial margin above current attacks. If you're considering performance optimizations through reduced rounds, weigh the actual latency savings against the security margin you're sacrificing.

Document your cryptographic assumptions. If your security architecture assumes ChaCha20 behaves as a pseudorandom function for specific use cases, note that assumption explicitly. When distinguishers emerge for related ciphers, you'll know which systems to re-evaluate.

Finally, separate the cipher's theoretical strength from your implementation's practical security. Even an unbreakable cipher fails if your key management is weak, your random number generator is predictable, or your Point-to-Point Encryption (P2PE) implementation has side channels. The Forró cryptanalysis matters because it reminds us that cryptographic margins erode, but most payment breaches still happen because of implementation failures, not because someone broke AES.

You Might Also Like