{
  "id": "2026/2382",
  "url": "https://opencryptology.org/2026/2382",
  "original_url": "https://eprint.iacr.org/2026/2382",
  "title": "Differential-Neural Cryptanalysis of ChaCha and Related ARX Stream Ciphers",
  "authors": [
    "Nimai Parsa",
    "Nitin Kumar Sharma"
  ],
  "affiliations": null,
  "abstract": "The paper presents the first-ever differential neural cryptanalysis of the Latin Dances family of Salsa, ChaCha, and Forró. First, we provide a systematic differential-neural study of the ARX stream cipher ChaCha. We train and compare six neural architectures, viz.: Gohr's residual network, DBitNet, an Inception network, an MLP-ResNet, an SE-ResNet, and a self-attention network on a 3-round reduced version of ChaCha. We train in both the classical single-pair setting and a multi-pair setting that combines up to sixteen ciphertext pairs through a log-odds rule. We extend the study for breadth to other ARX ciphers, Salsa, *ChaCha, and Forró. We provide the first-ever distinguisher for 4.5 rounds of Salsa with accuracy of 0.53 for one pair and 0.60 for 16 pairs. Also, for Forró the first-ever distinguisher for 1.25 rounds of Salsa with accuracy of 1 for single and multiple pairs. We also introduce a family of experimental round-1-XOR variants (\\emph{XOR-1}) that isolate the contribution of the first round's diffusion to distinguishability. Finally, we investigate the trained 3-round ChaCha distinguisher with four explainability experiments and show that, although the output difference is its dominant feature, it is not a pure differential distinguisher: its decision is interpretable as a learned mixture of round-1 truncated differentials, five of which already account for $99\\%$ of the high-confidence ciphertext pairs.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Differential-Neural Cryptanalysis of ChaCha and Related ARX Stream Ciphers” by Nimai Parsa, Nitin Kumar Sharma, Cryptology ePrint Archive, Paper 2026/2382, https://eprint.iacr.org/2026/2382. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-10-06T13:44:36Z",
    "updated": "2026-10-06T13:44:36Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2382.pdf",
    "sha256": "2cbd59b7e4a9eb72ae8ef17d2815e91cfba4e641e5822592155735f7f0ccc723",
    "size": 1140279,
    "source": "upload",
    "source_date": "2026-11-11T23:54:10.886Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2382/versions/20261111T235410Z.pdf",
      "captured_at": "2026-11-11T23:54:10.886Z",
      "label": "copy captured 2026-11-11",
      "source": "upload",
      "source_url": null,
      "size": 1140279,
      "sha256": "2cbd59b7e4a9eb72ae8ef17d2815e91cfba4e641e5822592155735f7f0ccc723",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2382,\n      author = {Nimai Parsa and Nitin Kumar Sharma},\n      title = {Differential-Neural Cryptanalysis of ChaCha and Related ARX Stream Ciphers},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2382},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2382}\n}"
}
