Studying Lattice-Based Zero-Knowlege Proofs: A Tutorial and an Implementation of Lantern
Tutorial and first implementation of Lantern, a lattice-based zero-knowledge proof system, in a SageMath Jupyter notebook, producing proofs of a few dozen KB.
Schemes: Lantern, Module-LWE
Findings (quotes checked against the source text)
-
First implementation of Lantern, a lattice-based ZKP system producing compact proofs of a few dozen kilobytes for basic statements.
This project presents the first implementation of Lantern, a state-of-the-art lattice-based ZKP system that can create compact proofs, which are a few dozen kilobytes large, for basic statements.
-
Implementation is a full educational Jupyter Notebook in SageMath, aimed at accessibility rather than performance.
We thoroughly explain the theory behind the scheme and give a full implementation in a Jupyter Notebook using SageMath to make Lantern more accessible to researchers.
-
A Module-LWE secret proof was constructed in 35 seconds on a consumer laptop with the unoptimized implementation.
Albeit not optimized for performance, this implementation allows us to construct a Module-LWE secret proof in 35s on a consumer laptop.
-
Lattice-based ZKPs are motivated as a quantum-resistant alternative because most deployed ZKP systems rely on elliptic curves.
Currently, the majority of ZKP systems are based on elliptic curves, which are susceptible to attacks from quantum computers.
Numbers (as extracted, not quote-checked)
- Lantern proof size for basic statements: a few dozen kilobytes
- Module-LWE secret proof generation time on consumer laptop (unoptimized): 35 s
For builders
Lantern is a usable reference for lattice ZKPs in a chain's privacy or credential layer, but treat it as a teaching implementation, not a production prover.
Limits
Unoptimized SageMath notebook; proofs cover only basic statements; performance and security review for production use are not established by the abstract.
Topics: zk-proofs sig-lattice survey