EChaCha20 shows strong pseudorandomness at 16- and 32-bit levels, with minor 8-bit irregularities
EChaCha20 resists stringology-based pattern attacks and exhibits rapid diffusion with no significant rotational collisions
Security & privacy arXiv 10 Apr 2026 Measurement Prototype evidence
Published as “Stringology-Based Cryptanalysis for EChaCha20 Stream Cipher”
Why it matters
The results suggest EChaCha20 can be safely deployed in security-critical protocols, while the tiny byte-level bias does not materially affect its security margin.
Summary
EChaCha20 shows strong pseudorandomness at 16-bit and 32-bit word levels, with only minor 8-bit irregularities, and achieves rapid diffusion with no rotational collisions after three quarter-round rounds. The evidence comes from analysis of one million keystream blocks and 224 differential trials, but the paper notes small byte-level biases that are deemed negligible.
What they found 2
- EChaCha20 maintains strong pseudorandomness at 16-bit and 32-bit levels with only minor 8-bit irregularities.
“Our experimental results on large-scale one million keystream datasets have confirmed that EChaCha20 is able to maintain strong pseudorandomness at 16-bit and 32-bit levels with minor irregularities observed in the 8-bit domain.”
- Complete diffusion is achieved after three QR-F rounds with zero collisions in 224 trials.
“The results demonstrated complete diffusion after 3 rounds (0 collisions in 224 trials), with measured probabilities ˆ p(∆) < 2-35 for all the tested differences.”
Caveats 2
- Minor 8-bit low-entropy deviations were observed, though the authors claim they are negligible.
- The minor 8-bit low-entropy deviation observed under fixed-key initialization remained below 0.2 bits deviation and is absent under variable-key conditions, confirming that it poses negligible cryptographic risk.
What’s new here 4
- Applies KMP and Boyer-Moore string matching algorithms to 32-bit word-level analysis of a stream cipher.
- Adapts these algorithms specifically for ARX-based ciphers, enabling faster pattern detection than brute-force methods.
- Provides empirical evaluation of rotational-differential resistance using stringology-driven searches.
- Identifies minor 8-bit biases that are invisible to traditional statistical test suites.