Paper 2024/1566

Dynamic zk-SNARKs

Weijie Wang, Yale University
Charalampos Papamanthou, Yale University, Lagrange Labs
Shravan Srinivasan, Lagrange Labs
Dimitrios Papadopoulos, Hong Kong University of Science and Technology, Lagrange Labs
Abstract

In this work, we put forth the notion of dynamic zk-SNARKs. A dynamic zk-SNARK is a zk-SNARK that has an additional update algorithm. The update algorithm takes as input a valid source statement-witness pair $(x,w)\in \mathcal{L}$ along with a verifying proof $\pi$, and a valid target statement-witness pair $(x',w')\in \mathcal{L}$. It outputs a verifying proof $\pi'$ for $(x',w')$ in sublinear time (for $(x,w)$ and $(x',w')$ with small Hamming distance) potentially with the help of a data structure. To the best of our knowledge, none of the commonly-used zk-SNARKs are dynamic---a single update in $(x,w)$ can be handled only by recomputing the proof, which requires at least linear time. After presenting the formal definition of dynamic zk-SNARKs, we provide two constructions. The first one is based on recursive SNARKs and has $O(\log n)$ update time. However it suffers from heuristic security---it must encode the random oracle in the SNARK circuit. The second one and our central contribution, $\mathsf{Dynaverse}$, is based solely on KZG commitments and has $O(\sqrt{n}\log n)$ update time. Our preliminary evaluation shows, that, while worse asymptotically, $\mathsf{Dynaverse}$ outperforms the recursive-based approach by at least one order of magnitude.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
Zero knowledge proofs
Contact author(s)
weijie wang @ yale edu
charalampos papamanthou @ yale edu
shravan @ lagrange dev
dipapado @ cse ust hk
History
2024-10-05: approved
2024-10-04: received
See all versions
Short URL
https://ia.cr/2024/1566
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1566,
      author = {Weijie Wang and Charalampos Papamanthou and Shravan Srinivasan and Dimitrios Papadopoulos},
      title = {Dynamic zk-{SNARKs}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1566},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1566}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.