{
  "id": "2026/524",
  "url": "https://opencryptology.org/2026/524",
  "original_url": "https://eprint.iacr.org/2026/524",
  "title": "Distance of RAA Codes over Large Finite Fields (with Applications in zkSNARKs and PCGs)",
  "authors": [
    "Pariya Akhiani",
    "Yupeng Zhang"
  ],
  "affiliations": null,
  "abstract": "Error-correcting codes play a central role in modern cryptography, enabling efficient constructions of primitives such as zero knowledge proofs and secure multiparty computations. Among them, repeat-accumulate-accumulate (RAA) codes have recently attracted significant attention due to their linear-time encoding and good distance properties. However, prior work only established provable distance guarantees over the binary field or over finite fields whose size is smaller than the message length. The underlying techniques do not extend to larger fields. This restriction is significant, as many cryptographic constructions based on error-correcting codes operate over large finite fields.\n\nIn this paper, we prove that RAA codes achieve constant relative distance $0<\\delta\\le \\frac{1}{2}$ with high probability over large finite fields. Moreover, we resolve an open conjecture by showing for the first time that the distance of RAA codes improves over large fields. We provide both theoretical analysis and empirical evidence demonstrating that, compared to the binary case, large fields yield strictly better distance guarantees with much smaller failure probabilities.\n\nOur empirical evaluation shows that for message length $n=2^{20}$ and repetition factor $r=4$, the RAA code over a 31-bit prime field achieves relative distance $1/2$, except with failure probability $2^{-20}$. This is better than the best provable distance of $\\delta = 0.2$ with failure probability $2^{-10}$ over the binary field. Leveraging our improved distance bounds, we obtain a 2.6$\\times$ reduction in the proof size of a polynomial commitment scheme based on RAA codes compared to using the binary-field bound, and a 5.4$\\times$ reduction compared to a prior construction based on expand-accumulate codes.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Distance of RAA Codes over Large Finite Fields (with Applications in zkSNARKs and PCGs)” by Pariya Akhiani, Yupeng Zhang, Cryptology ePrint Archive, Paper 2026/524, https://eprint.iacr.org/2026/524. 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-03-16T02:13:59Z",
    "updated": "2026-11-04T06:17:59Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/524.pdf",
    "sha256": "7794d5bd61de7480e85ef40f6ebb8391f8219c0d803e34e5e097a1501728151f",
    "size": 788769,
    "source": "upload",
    "source_date": "2026-11-14T03:39:05.956Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/524/versions/20261114T033905Z.pdf",
      "captured_at": "2026-11-14T03:39:05.956Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 788769,
      "sha256": "7794d5bd61de7480e85ef40f6ebb8391f8219c0d803e34e5e097a1501728151f",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2026/524/versions/20260512T112848Z.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "label": "copy captured 2026-05-12",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/524.pdf",
      "size": 715706,
      "sha256": "9f68414d07842ba33ed44c4c05e207f81bcce695b6090839ea19bf87f0c04dfe",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/524.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "size": 715706
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260420033854id_/https://eprint.iacr.org/2026/524.pdf",
      "captured_at": "2026-04-20T03:38:54Z",
      "size": 716484
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/524,\n      author = {Pariya Akhiani and Yupeng Zhang},\n      title = {Distance of RAA Codes over Large Finite Fields (with Applications in zkSNARKs and PCGs)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/524},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/524}\n}"
}
