Skip to content

Experimental zero-knowledge proof compiler in Rust macros

Notifications You must be signed in to change notification settings

Paulmfaith/zkp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkp

This crate has an experimental zero-knowledge proof compiler implemented using Rust macros.

It provides a DSL resembling Camenisch-Stadler notation for proving statements about discrete logarithms in the Decaf group on Curve25519, as implemented in curve25519-dalek. Note that both the Decaf implementation in curve25519-dalek, as well as this library, are currently UNFINISHED, UNREVIEWED, AND EXPERIMENTAL. (I haven't actually checked carefully that the proofs are sound, for instance...)

Warning

This code has not yet received sufficient peer review by other qualified cryptographers to be considered in any way, shape, or form, safe.

USE AT YOUR OWN RISK

Documentation

Extensive documentation is available here.

Pre-Release TODOs

  • don't use any yolocrypto features (i.e. stabilise decaf in curve25519-dalek)
  • make sure proofs are sound
  • make a CONTRIBUTING.md

Future TODOs

  • ???

About

Experimental zero-knowledge proof compiler in Rust macros

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%