Skip to content

OpenZKP - pure Rust implementations of Zero-Knowledge Proof systems.

License

Notifications You must be signed in to change notification settings

mrnobody700/OpenZKP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto support library for StarkDEX

NOTE: Modular inversion is not constant time.

Benchmark

Checkout master branch:

cargo bench --bench benchmark -- --save-baseline master
cargo bench --bench benchmark -- --baseline master
open target/criterion/report/index.html
cargo install cargo-instruments
cargo instruments --release --bench benchmark --open

TODO

Goals

  • Perfomance optimized for Native and WebAssembly
  • Generality
  • Later: Constant-time operations.
  • Prefer const fn over procedural macros.

For optimization, there are a few different scenarios:

  • Programmer time known fields.
  • Compiler time known fields.
  • Statically runtime known fields.
  • Dynamically runtime known fields.

References and benchmarks

About

OpenZKP - pure Rust implementations of Zero-Knowledge Proof systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 63.0%
  • Jupyter Notebook 31.2%
  • Solidity 3.6%
  • RenderScript 0.9%
  • TypeScript 0.8%
  • Python 0.4%
  • Other 0.1%