Skip to content

lingering/zksaas

 
 

Repository files navigation

zkSaaS: Zero-Knowledge SNARKs as a Service ePrint:2023/905

Rust implementation of the zkSaaS protocol introduced in ePrint:2023/905

WARNING: This is an academic proof-of-concept prototype, and in particular has not received careful code review. This implementation is NOT ready for production use.

Dependencies

This project relies on the arkworks project for finite field and elliptic curve arithmetic. For communication we use the mpc-net crate from collaborative-zksnark.

Overview

  • secret-sharing/: A packed secret sharing library built on top of the finite field generics in arkworks.
  • dist-primitives/: Contains implementations of the distributed fast-fourier transform, multiscalar multiplication and partial products, complete with correctness tests.
  • groth16/: Contains a distirbuted and local version of groth16 used for benchmarking timings. (not a complete implementation)
  • plonk/: Contains a distirbuted and local version of plonk used for benchmarking timings. (not a complete implementation)
  • scripts/: Contains shell scripts to run various tests and benchmarks.

License

This library is released under the MIT License.

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.5%
  • Shell 5.5%