Neural Stringology Based Cryptanalysis of EChaCha20
Victor Kebande

TL;DR
This paper introduces a Neural Stringology Cryptanalysis framework that combines string pattern analysis and machine learning to detect subtle structural anomalies in stream cipher keystreams, exemplified on EChaCha20.
Contribution
It presents a novel hybrid approach integrating stringology and neural networks for cryptanalysis, revealing potential structural weaknesses in ARX-based stream ciphers.
Findings
NSC can identify distinguishable structural patterns in keystreams
The framework detects anomalies in reduced round variants of EChaCha20
Combining stringology with machine learning enhances cryptanalysis capabilities
Abstract
Modern stream ciphers rely on strong diffusion and pseudorandom keystream generation (PKG) to resist cryptanalysis. While conventional evaluation methods such as statistical randomness tests and differential analysis provide important security assurances, they may fail to detect localized structural patterns embedded within cipher outputs. In this paper, a Neural Stringology Cryptanalysis (NSC) framework that combines classical string pattern analysis with machine learning techniques to investigate potential structural anomalies in stream cipher keystreams is introduced. The proposed approach first applies stringology-inspired feature extraction methods such as m-gram frequency analysis, substring recurrence detection, and positional pattern statistics aligned with the internal operations of Add-Rotate-XOR (ARX) based stream ciphers. These extracted features are then analyzed using a…
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.
