A verifiable database is post-quantum only if every layer that carries trust survives a large quantum computer: the proof system, the hashes and commitments, the signatures on writes, the on-chain verifier, and the proofs already issued. Today's most compact proof systems, such as Groth16, rely on elliptic-curve pairings and are not in that group. Hash-based proof systems are the main path, and the price is paid in proof size and proving time.
A verifiable database attaches a cryptographic proof to its data, so a counterparty, an auditor or a smart contract can check that a query result or an update was computed correctly without trusting the operator. Stablecoin issuers, custodians and RWA platforms use this kind of proof for reserve, NAV (net asset value) and collateral data. Those proofs are meant to be checked for years, which is why their quantum exposure matters now. Our own benchmark on one Merkle circuit shows what the move would cost.
Quantum computers break some layers and only weaken others
Two quantum algorithms matter here, and they do different damage.
Shor's algorithm breaks the hard problems behind elliptic-curve cryptography: discrete logarithms and the pairings built on them. That covers ECDSA account signatures, BLS signatures and pairing-based proof systems. The survey (SoK, systematization of knowledge) by Mallick and co-authors ("Quantum Disruption", arXiv, December 2025) puts it plainly: conventional SNARKs (the family of short proofs that includes Groth16) rely on discrete-log and elliptic-curve pairing assumptions. Once those assumptions fall, the security they carry falls with them.
Grover's algorithm does something smaller. It gives a quadratic speedup on hash computation (same SoK). That weakens a hash function but does not break it the way Shor's algorithm breaks an elliptic curve. This is why hash-based designs are central to post-quantum plans such as Ethereum's.
Shor's algorithm breaks pairing-based proofs and signatures; Grover's algorithm only weakens hashes, which is why hash-based designs are the post-quantum path.
The timeline is no longer open. NIST published the final version of IR 8547, "Transition to Post-Quantum Cryptography Standards", in October 2026. It deprecates quantum-vulnerable public-key algorithms after 2030 and disallows them after 2035. The replacements are already standards: FIPS 203 for key establishment, and FIPS 204 (lattice-based) and FIPS 205 (hash-based) for digital signatures, all approved in August 2024.
The real risk for proofs is forgery
For a verifiable database, the question is what a quantum attacker could do with a proof.
The documented risk is soundness, the guarantee that a proof cannot be faked. A pairing-based proof is only as hard to fake as the pairing problem underneath it. An attacker who can solve that problem could produce a proof that a verifier accepts for a statement that is false. Ethereum's own roadmap page lists pairing-based SNARKs among the parts of the stack that are vulnerable for this reason.
Privacy, whether a quantum attacker could learn hidden data from proofs already published, is a separate question, and the public sources we checked cover forgery only. For a database that serves auditors and smart contracts, forgery is the risk that changes the design.
Five requirements for a post-quantum verifiable database
Each layer below carries part of the trust. If one of them rests on a quantum-vulnerable assumption, the whole database does.
1. A proof system that stays sound against a quantum attacker
The proof system is the core of a verifiable database: it is what lets a counterparty check that a query result or an update was computed correctly. Today the most compact option is pairing-based. The post-quantum options are hash-based proof systems such as STARKs (built on FRI, a hash-based polynomial test) and lattice-based SNARKs. The Mallick SoK names both among the post-quantum alternatives to pairing-based SNARKs. Ethereum's roadmap page notes that STARKs are already quantum-resistant and already used by several rollups. For background on how the two families differ, see our
comparison of zk-STARKs and zk-SNARKs.
2. Hash-based commitments to the data
A verifiable database commits to its data: it publishes a short fingerprint of the whole data set, usually the root of a Merkle tree, and every proof refers to that fingerprint. A Merkle tree is a hash-based structure, so this layer is in better shape than the others: it needs hash functions with enough margin against Grover's speedup, not a new design. Commitment schemes built on pairings, such as KZG (a pairing-based polynomial commitment), are a different case. Ethereum uses KZG for the data that rollups post to it, and plans to replace it with STARK-based or lattice-based commitments, and its roadmap says both approaches are still being researched.
3. Post-quantum signatures on every write
A proof shows that data was stored and processed as claimed. It does not show who was allowed to write it. That part comes from signatures on writes, and today those are usually ECDSA. A post-quantum database needs writes signed with a scheme such as ML-DSA (FIPS 204) or SLH-DSA (FIPS 205). The cost is size: the Mallick SoK compares a 71-byte ECDSA signature with a 2,420-byte ML-DSA-44 signature, and finds that swapping in post-quantum signatures is far from a drop-in replacement.
4. An on-chain verifier that can check larger proofs
A proof that nobody can check on-chain is of little use to a smart contract. Today's EVM verifiers are built for pairing-based proofs: a Groth16 check uses Ethereum's built-in pairing functions and costs about 100,000 to 150,000 gas, cheap enough to run on every update. A hash-based proof is far larger and needs a different verifier. The verifier also has to be migrated with care, because an old pairing-based verifier left in place would keep accepting proofs that a quantum attacker could forge.
5. A migration path for proofs already issued
A database that has been running for years holds a long history of proofs. After a move to a new proof system, that history still rests on the old assumption. A migration plan needs a way to carry the current state over: for example, re-committing the current data under the new scheme and proving it once with the new proof system, so that later checks do not depend on pairing-based proofs at all. Signatures face the same problem, which is why Ethereum is working on "signature agility" through account abstraction rather than a one-time swap.
| Trust layer | Today (typical) | Post-quantum option | What it costs |
|---|
| Proof system | Pairing-based SNARK (Groth16) | Hash-based (STARK, FRI) or lattice-based SNARK | Larger proofs, slower proving |
| Commitments | Merkle tree (hash-based); KZG in some systems | Merkle tree with enough hash margin; STARK or lattice commitments for KZG | Small for Merkle trees; open research for KZG |
| Signatures on writes | ECDSA, 71 bytes | ML-DSA (FIPS 204), SLH-DSA (FIPS 205) | ML-DSA-44 signature is 2,420 bytes |
| On-chain verifier | Pairing check, about 100K to 150K gas | Verifier for hash-based proofs | New contracts, higher data cost |
| Proofs already issued | Valid under pairing assumptions | Re-commit and re-prove current state | One migration, planned in advance |
What the move costs: our benchmark on the same circuit
The clearest way to see the price is to run the same workload through different proof systems. We benchmarked the same Merkle membership circuit (the computation that proves a value is in the data set, here for a tree of height 128, a size for large databases) across four stacks. This is the core workload of zkDatabase. The full method is in our post on
Groth16 benchmarks against PLONK and STARKs.
| Proof system | Backend | Prove time | Total latency |
|---|
| Groth16 | Rust Rapid Snark | 0.392 s | about 0.4 s |
| PLONK | Barretenberg | 5.331 s | 24.7 s |
| Circle STARK | Cairo | 6.842 s | 20.1 s |
| STARK | risc0 | 55.712 s | 55.7 s |
Proof size moves the same way. A Groth16 proof is about 128 to 200 bytes, whatever the size of the computation it proves. STARK proofs can reach 40 to 100 KB. For a database that publishes a proof for every update, that difference is paid again on every update, in data-availability cost on-chain.
So the move to hash-based proofs is real work, not a setting. In our runs, total latency was about 50 times higher than Groth16 with the faster STARK backend (Circle STARK) and about 140 times higher with the slower one (risc0). STARK proofs are also typically hundreds of times larger than a Groth16 proof. A team planning the move should budget for that cost.
Timelines from NIST and Ethereum
NIST's IR 8547 dates set the outside limit for institutions that follow its standards. Deprecated, the 2030 step, means an algorithm may still be used, but the data owner has to assess the risk.
Ethereum's plan runs earlier. ethereum.org's quantum resistance roadmap page describes a "Lean Ethereum" roadmap that targets approximately 2029 for completing core post-quantum infrastructure: hash-based signatures (leanXMSS) to replace BLS in consensus, account abstraction to give accounts signature agility, and new commitments to replace KZG. The page calls these planning milestones, not guaranteed commitments, and says execution-layer and ecosystem migration extends beyond that.
For a verifiable database that settles proofs on Ethereum, the two timelines meet. Its verifier, its signatures and its proof history all need a plan that fits inside them. Our earlier piece on
cryptography and quantum computers covers the wider data-security side of the same shift.
Where zkDatabase stands today
zkDatabase is a verifiable database powered by Zero-Knowledge Proofs, and it uses Groth16 in production. We chose it for compact proofs, low on-chain verification cost and sub-second proving on fixed Merkle circuits, which suits a database where each collection has a fixed tree height. Groth16 is a pairing-based system, so it is not post-quantum, and this post makes no claim that zkDatabase is.
What the architecture does have is room to change. zkDatabase is Proof-System Agnostic, with planned support for Plonky3, Halo2, Nova and Pickles, so the proof system is a module rather than a fixed choice. Its data is committed in Merkle trees, which is the hash-based layer from requirement 2. Our post on
Plonky2 and recursive proofs covers the FRI-based family that Plonky3 belongs to, and the
zkDatabase guide explains how proofs, commitments and the verifier fit together.
Planning a post-quantum migration for reserve, NAV or collateral data? Our team can run the proof-system comparison above on your own workload.