[Paper Review] Proofs of Zero Knowledge
This paper proposes a novel cryptographic protocol using keyed hash trees to enable readers to verify database replies—including denials of existence—without trusting the database. By having writers publish signed state credentials that commit to the database's full state, the scheme allows efficient, low-traffic verification of both data existence and non-existence, outperforming prior zero-knowledge set schemes in speed and support for multiple writers and dynamic updates.
We present a protocol for verification of ``no such entry'' replies from databases. We introduce a new cryptographic primitive as the underlying structure, the keyed hash tree, which is an extension of Merkle's hash tree. We compare our scheme to Buldas et al.'s Undeniable Attesters and Micali et al.'s Zero Knowledge Sets.
Motivation & Objective
- To address the challenge of verifying database replies when the database is untrusted, especially for 'no such entry' responses.
- To design a system where readers can cryptographically verify both the presence and absence of entries in a database without downloading its entire state.
- To support multiple writers who can update the database and recompute state credentials independently, without requiring a global PKI or constant writer involvement.
- To provide a practical, efficient alternative to zero-knowledge sets that supports dynamic modifications and is faster than existing schemes.
Proposed method
- Introduce a new cryptographic primitive called the keyed hash tree, an extension of Merkle’s hash tree, to bind database state to a compact, verifiable credential.
- Use a state credential—a hash-based commitment over all keys in a fixed order—that writers sign and publish via an announcement service.
- Enable verification of a database reply by checking a Merkle-style proof along the path to the queried key, including sibling nodes and commitment values.
- Support proofs of non-existence by constructing a fake branch of nodes with committed values, where the root's commitment is updated to hide the fact that the path leads to an empty leaf.
- Use a commitment scheme based on discrete logarithms (g^m * h^r) to allow writers to re-commit to any value at a node, enabling convincing proofs of non-existence.
- Ensure security by requiring writers to sign the state credential and store public keys externally, so any tampering or false replies can be detected by readers.
Experimental results
Research questions
- RQ1How can a reader verify that a database correctly denies the existence of a key, without any data being returned?
- RQ2Can a database be efficiently proven to be consistent with a writer-signed state credential that commits to the full database state?
- RQ3How can multiple writers update a database and maintain verifiable state credentials without requiring constant coordination or a global PKI?
- RQ4What cryptographic primitive enables efficient, low-traffic proofs of both existence and non-existence of entries in an untrusted database?
- RQ5How does the proposed scheme compare in performance and security to existing zero-knowledge set constructions like Micali et al.'s?
Key findings
- The proposed scheme allows readers to verify database replies—including denials of existence—with only a small amount of data, significantly reducing communication overhead compared to downloading the entire database.
- The use of keyed hash trees enables efficient, dynamic updates by writers, who can recompute and republish the state credential after each change without requiring interaction with other writers.
- The scheme is significantly faster than Micali et al.’s zero-knowledge sets, requiring only one optimized hash function per node versus five modular exponentiations.
- Proofs of non-existence are achieved by constructing a fake branch of nodes with committed values, where the root commitment is re-computed to hide the emptiness of the path.
- The scheme preserves the zero-knowledge property only partially; however, it avoids the need for undeniable signatures and complex writer coordination, making it more practical for real-world deployment.
- The approach is applicable to real-world systems such as DNS and web hosting, where database consistency and integrity are critical under untrusted conditions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.