{
  "id": "2023/907",
  "url": "https://opencryptology.org/2023/907",
  "original_url": "https://eprint.iacr.org/2023/907",
  "title": "Efficient Zero Knowledge for Regular Language",
  "authors": [
    "Michael Raymond",
    "Gillian Evers",
    "Jan Ponti",
    "Diya Krishnan",
    "Xiang Fu"
  ],
  "affiliations": null,
  "abstract": "A succinct zero knowledge proof for regular language mem-\nbership, i.e., to prove a secret string behind an encryption (hash) belongs\nto a regular language is useful, e.g., for asserting that an encrypted email\nis free of malware. The great challenge in practice is that the regular\nlanguage used is often huge. We present zkreg, a distributed commit-\nand-prove system that handles such complexity. In zkreg, cryptographic\noperations are encoded using arithmetic circuits, and input acceptance is\nmodeled as a zero knowledge subset problem using Σ-protocols. We in-\ntroduce a Feedback Commit-and-Prove (FB-CP) scheme, which connects\nΣ-protocols and the Groth16 system with O(1) proof size and verifier\ncost. We present a close-to-optimal univariate instantiation of zk-VPD,\na zero knowledge variation of the KZG polynomial commitment scheme,\nbased on which an efficient zk-subset protocol is developed. We develop\na 2-phase proof scheme to further exploit the locality of Aho-Corasick\nautomata. To demonstrate the performance and scalability of zkreg, we\nprove that all ELF files (encrypted and hashed) in a Linux CentOS 7\nare malware free. Applying inner pairing product argument, we obtain\nan aggregated proof of 1.96 MB which can be verified in 6.5 seconds.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY-NC",
    "url": "https://creativecommons.org/licenses/by-nc/4.0/",
    "label": "CC BY-NC 4.0",
    "attribution": "“Efficient Zero Knowledge for Regular Language” by Michael Raymond, Gillian Evers, Jan Ponti, Diya Krishnan, Xiang Fu, Cryptology ePrint Archive, Paper 2023/907, https://eprint.iacr.org/2023/907. Licensed under CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2023-06-11T12:13:06Z",
    "updated": "2023-09-10T22:06:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/907.pdf",
    "sha256": "8ce892ca5448744c5a64f89e6ae04586fdb0cc1b05bde2b496e8a0ec13c7b489",
    "size": 645783,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/907/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/907.pdf",
      "size": 645783,
      "sha256": "8ce892ca5448744c5a64f89e6ae04586fdb0cc1b05bde2b496e8a0ec13c7b489",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/907/versions/20230612T132827Z.pdf",
      "captured_at": "2023-06-12T13:28:27Z",
      "label": "copy captured 2023-06-12",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230612132827id_/https://eprint.iacr.org/2023/907.pdf",
      "size": 683269,
      "sha256": "88aff0a6af16e92e9c1da5aa7830c391b2dec2ced1c9e82313b64f236b9edc63",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250717031706id_/https://eprint.iacr.org/2023/907.pdf",
      "captured_at": "2025-07-17T03:17:06Z",
      "size": 639817
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/907.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 645783
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/907,\n      author = {Michael Raymond and Gillian Evers and Jan Ponti and Diya Krishnan and Xiang Fu},\n      title = {Efficient Zero Knowledge for Regular Language},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/907},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/907}\n}"
}
