Skip to content

A prototype implementation of the zksaas protocol for distributed zkSNARK generation

License

Notifications You must be signed in to change notification settings

guruvamsi-policharla/zksaas

Repository files navigation

⚠️ Update: A production ready version of zkSaaS is being built at webb-tools/zk-SaaS

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 distributed and local version of groth16 used for benchmarking timings. (not a complete implementation)
  • plonk/: Contains a distributed 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.

About

A prototype implementation of the zksaas protocol for distributed zkSNARK generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published