All Projects → arkworks-rs → groth16

arkworks-rs / groth16

Licence: other
A Rust implementation of the Groth16 zkSNARK

Programming Languages

rust
11053 projects
shell
77523 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to groth16

verifiable mpc
A scheme that produces a zero-knowledge proof of correctness for an MPC computation. The scheme allows anyone, particularly someone external to the secure computation, to check the correctness of the output, while preserving the privacy properties of the MPC protocol.
Stars: ✭ 15 (-77.27%)
Mutual labels:  snark
Groth16BatchVerifier
Batch verification proposal for the zkSNARK verification with the same(!) circuit
Stars: ✭ 17 (-74.24%)
Mutual labels:  snark
marlin
A Rust library for the Marlin preprocessing zkSNARK
Stars: ✭ 215 (+225.76%)
Mutual labels:  zksnark
bellman
Bellman zkSNARK library for community with Ethereum's BN256 support
Stars: ✭ 121 (+83.33%)
Mutual labels:  zksnark
crypto-primitives
Interfaces and implementations of cryptographic primitives, along with R1CS constraints for them
Stars: ✭ 76 (+15.15%)
Mutual labels:  snark
klefki
Klefki is a playground for researching elliptic curve group based algorithm, such as MPC, ZKP and HE. All data types & structures are based on mathematical defination of abstract algebra.
Stars: ✭ 12 (-81.82%)
Mutual labels:  zksnark

ark-groth16

The arkworks ecosystem consist of Rust libraries for designing and working with zero knowledge succinct non-interactive arguments (zkSNARKs). This repository contains an efficient implementation of the zkSNARK of [Groth16].

This library is released under the MIT License and the Apache v2 License (see License).

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.

Build guide

The library compiles on the stable toolchain of the Rust compiler. To install the latest version of Rust, first install rustup by following the instructions here, or via your platform's package manager. Once rustup is installed, install the Rust toolchain by invoking:

rustup install stable

After that, use cargo, the standard Rust build tool, to build the library:

git clone https://github.com/arkworks-rs/groth16.git
cargo build --release

This library comes with unit tests for each of the provided crates. Run the tests with:

cargo test

License

This library is licensed under either of the following licenses, at your discretion.

Unless you explicitly state otherwise, any contribution submitted for inclusion in this library by you shall be dual licensed as above (as defined in the Apache v2 License), without any additional terms or conditions.

Acknowledgements

This work was supported by: a Google Faculty Award; the National Science Foundation; the UC Berkeley Center for Long-Term Cybersecurity; and donations from the Ethereum Foundation, the Interchain Foundation, and Qtum.

An earlier version of this library was developed as part of the paper "ZEXE: Enabling Decentralized Private Computation".

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].