{
  "id": "2025/1802",
  "url": "https://opencryptology.org/2025/1802",
  "original_url": "https://eprint.iacr.org/2025/1802",
  "title": "Zyga: Optimized Zero-Knowledge Proofs with Dynamic Public Inputs",
  "authors": [
    "Tiago A. O. Alves",
    "Vitor Py Braga"
  ],
  "affiliations": null,
  "abstract": "We present Zyga, a pairing-based zero-knowledge proof system optimized for privacy-preserving DeFi\napplications. Our main contribution is an enhancement of existing zkSNARK constructions that enables\ndynamic public input substitution during verification while maintaining privacy of witness components\nthrough one-sided encoding. The one-sided encoding aspect favors practical deployment constraints on\nSolana and Ethereum where G2 scalar multiplications are computationally expensive. Zyga separates\nprivate values (blinded through trusted setup) from public values (instantiated on-chain), enabling ap-\nplications like private trading against current market rates without reproofing. We further introduce\ntwo-sided encoding, an extension that removes circuit structure restrictions by adding a private B com-\nmitment and a rebase mechanism, enabling arbitrary R1CS circuits with proof reuse across changing\nbase values. We provide rigorous security analysis under discrete logarithm and q-Strong Diffie-Hellman\nassumptions, demonstrating computational soundness, zero-knowledge, and completeness. Performance\nanalysis shows verification requires only 3–4 pairings with constant proof size, making it practical for\nblockchain deployment where transaction costs are critical.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Zyga: Optimized Zero-Knowledge Proofs with Dynamic Public Inputs” by Tiago A. O. Alves, Vitor Py Braga, Cryptology ePrint Archive, Paper 2025/1802, https://eprint.iacr.org/2025/1802. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-10-02T10:01:39Z",
    "updated": "2025-12-22T13:50:39Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1802.pdf",
    "sha256": "6c4c161986cd75daa685ec6d5b335b6369357cd5eb2e637db3e1f3c9b565c05d",
    "size": 727464,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1802/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/1802.pdf",
      "size": 727464,
      "sha256": "6c4c161986cd75daa685ec6d5b335b6369357cd5eb2e637db3e1f3c9b565c05d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/1802/versions/20251008T033225Z.pdf",
      "captured_at": "2025-10-08T03:32:25Z",
      "label": "copy captured 2025-10-08",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20251008033225id_/https://eprint.iacr.org/2025/1802.pdf",
      "size": 637566,
      "sha256": "ea2c5e5241c8b242128433aaa695df50e07eb1b8bfdb8364164d2041073f62d3",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1802.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 727464
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260210214336id_/https://eprint.iacr.org/2025/1802.pdf",
      "captured_at": "2026-02-10T21:43:36Z",
      "size": 720845
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1802,\n      author = {Tiago A. O. Alves and Vitor Py Braga},\n      title = {Zyga: Optimized Zero-Knowledge Proofs with Dynamic Public Inputs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1802},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1802}\n}"
}
