Stringology-Based Cryptanalysis for EChaCha20 Stream Cipher
Victor Kebande

TL;DR
This paper applies Stringology-Based Cryptanalysis using KMP and Boyer-Moore algorithms to evaluate EChaCha20's security, confirming its strong pseudorandomness and diffusion properties with minor irregularities.
Contribution
It introduces a novel application of string algorithms for cryptanalysis of EChaCha20, providing insights into its structural security features.
Findings
EChaCha20 maintains strong pseudorandomness at 16-bit and 32-bit levels.
Rapid diffusion and avalanche effect observed after two QR-F rounds.
No significant rotational collisions detected within evaluated bounds.
Abstract
Stringology-Based Cryptanalysis (SBC) offers a suitable and a structurally aligned approach for uncovering structural patterns in stream ciphers that traditional statistical tests may often fail to detect. Despite \texttt{EChaCha20}'s design enhancements, no systematic investigation has been performed to determine whether its expanded 66 state matrix and modified Quarter-Round Function (\texttt{QR-F}) introduce subtle keystream patterns, rotational biases, or partial collisions that could serve as statistical distinguishers. As such, addressing this gap is critical to ensure that the cipher's modifications do not unintentionally reduce its security margin. Therefore, this paper leverages Knuth-Morris-Pratt (\texttt{KMP}) and Boyer-Moore (\texttt{BM}) algorithms to analyze \texttt{EChaCha20}, which is a variant of ChaCha20 that features an expanded 66 state matrix and an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
