ZKSQL: Verifiable and Efficient Query Evaluation with Zero-Knowledge Proofs
Xiling Li, Chenkai Weng, Yongxin Xu, Xiao Wang, Jennie Rogers
Abstract
Individuals and organizations are using databases to store personal information at an unprecedented rate. This creates a quandary for data providers. They are responsible for protecting the privacy of individuals described in their database. On the other hand, data providers are sometimes required to provide statistics about their data instead of sharing it wholesale with strong assurances that these answers are correct and complete such as in regulatory filings for the US SEC and other goverment organizations.
We introduce a system, ZKSQL , that provides authenticated answers to ad-hoc SQL queries with zero-knowledge proofs. Its proofs show that the answers are correct and sound with respect to the database's contents and they do not divulge any information about its input records. This system constructs proofs over the steps in a query's evaluation and it accelerates this process with authenticated set operations. We validate the efficiency of this approach over a suite of TPC-H queries and our results show that ZKSQL achieves two orders of magnitude speedup over the baseline.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- PoneglyphDB: Efficient Non-interactive Zero-Knowledge Proofs for Arbitrary SQL-Query Verification cites Bulletproofs: Short Proofs for Confidential Transactions and More
- qedb: Expressive and Modular Verifiable Databases (without SNARKs) cites PoneglyphDB: Efficient Non-interactive Zero-Knowledge Proofs for Arbitrary SQL-Query Verification
- Ligero: Lightweight Sublinear Arguments Without a Trusted Setup cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
- Secure and Verifiable Data Collaboration with Low-Cost Zero-Knowledge Proofs cites Bulletproofs: Short Proofs for Confidential Transactions and More
- Scalable Zero-knowledge Proofs for Non-linear Functions in Machine Learning cites Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested Disjunctions
- Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
- Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
- Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites Bulletproofs: Short Proofs for Confidential Transactions and More
Cited by top-tier papers8
- Scalable Zero-knowledge Proofs for Non-linear Functions in Machine LearningMeng Hao, Hanxiao Chen, Hongwei Li, Chenkai Weng et al.USENIX Security 2024 · 29 citations
- Secure and Verifiable Data Collaboration with Low-Cost Zero-Knowledge ProofsYizheng Zhu, Yuncheng Wu, Zhaojing Luo, Beng Chin Ooi et al.VLDB 2024 · 14 citations
- PoneglyphDB: Efficient Non-interactive Zero-Knowledge Proofs for Arbitrary SQL-Query VerificationBinbin Gu, Juncheng Fang, Faisal NawabSIGMOD 2025 · 5 citations
- qedb: Expressive and Modular Verifiable Databases (without SNARKs)Vincenzo Botta, Simone Bottoni, Matteo Campanelli, Emanuele Ragnoli et al.CCS 2026 · 3 citations
- Alchemy: A Query Optimization Framework for Oblivious SQLDonghyun Sohn, Kelly Jiang, Nicolas Hammer, Jennie RogersVLDB 2025 · 2 citations
Builds on7
- Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra et al.S&P 2018 · 1,285 citations
- Ligero: Lightweight Sublinear Arguments Without a Trusted SetupScott Ames, Carmit Hazay, Yuval Ishai, Muthuramakrishnan VenkitasubramaniamCCS 2017 · 338 citations
- ZKBoo: Faster Zero-Knowledge for Boolean CircuitsIrene Giacomelli, Jesper Madsen, Claudio OrlandiUSENIX Security 2016 · 287 citations
- Transparent Polynomial Delegation and Its Applications to Zero Knowledge ProofJiaheng Zhang, Tiancheng Xie, Yupeng Zhang, Dawn SongS&P 2020 · 192 citations
- Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested DisjunctionsCarsten Baum, Alex J. Malozemoff, Marc B. Rosen, Peter SchollCRYPTO 2021 · 77 citations
Related papers
- Trustless Audits without Revealing Data or ModelsSuppakit Waiwitlikhit, Ion Stoica, Yi Sun, Tatsunori Hashimoto et al.ICML 2024 · 20 citations
- DIZK: A Distributed Zero Knowledge Proof SystemHoward Wu, Wenting Zheng, Alessandro Chiesa, Raluca Ada Popa et al.USENIX Security 2018 · 152 citations
- Rogue: Updatable Matrix Lookup Arguments and Applications to Verifiable DatabasesChristodoulos Pappas, Zhuo Cai, Dimitrios PapadopoulosCCS 2026
- GZKP: A GPU Accelerated Zero-Knowledge Proof SystemWeiliang Ma, Qian Xiong, Xuanhua Shi, Xiaosong Ma et al.ASPLOS 2023 · 47 citations
- vSQL: Verifying Arbitrary SQL Queries over Dynamic Outsourced DatabasesYupeng Zhang, Daniel Genkin, Jonathan Katz, Dimitrios Papadopoulos et al.S&P 2017 · 206 citations
