{
  "id": "2025/222",
  "url": "https://opencryptology.org/2025/222",
  "original_url": "https://eprint.iacr.org/2025/222",
  "title": "A Robust Variant of ChaCha20-Poly1305",
  "authors": [
    "Tim Beyne",
    "Yu Long Chen",
    "Michiel Verbauwhede"
  ],
  "affiliations": null,
  "abstract": "The ChaCha20-Poly1305 AEAD scheme is widely used as an alternative for AES-GCM on platforms without AES hardware instructions. Although recent analysis by Degabriele et al. shows that ChaCha20-Poly1305 provides adequate security in the conventional multiuser model, the construction is totally broken when a single nonce is repeated – a real-word scenario that can occur due to faulty implementations or the desire to use random nonces.\n\nWe present a new nonce-misuse resistant and key-committing authenticated encryption scheme, called ChaCha20-Poly1305-PSIV, that is based on carefully combining the ChaCha20-Poly1305 building blocks into the NSIV paradigm proposed by Peyrin and Seurin (CRYPTO 2016) without performance loss. We analyze the security of the underlying mode PSIV in the multi-user faulty-nonce model assuming that the underlying permutation is ideal, and prove its key-committing security in the cmt-1 model. Rust and C implementations are provided, and benchmarks confirm that performance is comparable to the ChaCha20-Poly1305 implementation in libsodium.\n\nIn terms of security and efficiency (without hardware support), our proposal compares favorably to AES-GCM-SIV. Since we reuse the ChaCha20-Poly1305 building blocks, we expect ChaCha20-Poly1305-PSIV to benefit from existing analysis and to be easy to deploy in practice.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“A Robust Variant of ChaCha20-Poly1305” by Tim Beyne, Yu Long Chen, Michiel Verbauwhede, Cryptology ePrint Archive, Paper 2025/222, https://eprint.iacr.org/2025/222. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-02-13T22:07:06Z",
    "updated": "2026-06-04T08:38:43Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/222.pdf",
    "sha256": "ade6373a986ae713f8cc2e5003b0882cd0ad6ab40e7b4a002007a71e67b0f556",
    "size": 607229,
    "source": "wayback",
    "source_date": "2026-10-02T09:49:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/222/versions/20261002T094932Z.pdf",
      "captured_at": "2026-10-02T09:49:32Z",
      "label": "copy captured 2026-10-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20261002094932id_/https://eprint.iacr.org/2025/222.pdf",
      "size": 607229,
      "sha256": "ade6373a986ae713f8cc2e5003b0882cd0ad6ab40e7b4a002007a71e67b0f556",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/222/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/222.pdf",
      "size": 600678,
      "sha256": "e8f266711e69e6a3271a527ed220c8481b53936e8d8374fe33f545013ae126b5",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2025/222/versions/20250214T095301Z.pdf",
      "captured_at": "2025-02-14T09:53:01Z",
      "label": "copy captured 2025-02-14",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250214095301id_/https://eprint.iacr.org/2025/222.pdf",
      "size": 600274,
      "sha256": "5dcb92cbaeea739221c72d948d1769ef5363635e039d5cf8efab237d36ed46ce",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002094932id_/https://eprint.iacr.org/2025/222.pdf",
      "captured_at": "2026-10-02T09:49:32Z",
      "size": 576232
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/222.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 600678
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/222,\n      author = {Tim Beyne and Yu Long Chen and Michiel Verbauwhede},\n      title = {A Robust Variant of ChaCha20-Poly1305},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/222},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/222}\n}"
}
