Implementing a Zero Knowledge Proof
summary
An open-source Rust implementation of Bulletproofs uses Ristretto + Merlin in Rust to get a prime-order group and safe Fiat–Shamir transcripts, achieves <1 ms verification (64-bit) and reports being ~3× faster than secp256k1 and ~7× faster than Monero, supports aggregated proofs, no trusted setup, and encodes multiparty aggregation with Rust ownership/session types to prevent state reuse. A constraint-system API and gadgets (range, shuffle, merge/split) produce a working confidential-assets protocol adopted by Stellar.
AI-written summary · about
chapters (19)
- 0:00Introduction to zero knowledge proofs
- 1:03Motivation for bullet proofs
- 5:41Understanding the bulletproof paper
- 7:06Inner product argument basics
- 9:51Range proof as inner product
- 13:21Implementing bulletproofs in Rust
- 13:42Prime order group requirements
- 16:55Ristretto for performance
- 17:15Fiat-Shamir heuristic challenges
- 19:22Code walkthrough range proof
- 22:36Rust optimizations and safety
- 24:21Session types for MPC protocols
- 25:24Lazy iterators for efficiency
- 27:09Building beyond range proofs
- 27:50Constraint system API
- 29:36Confidential assets protocol
- 31:03Cloak transaction gadgets
- 33:33Smart contract language
- 35:38Q&A session
