Registry / crypto / ark-groth16

ark-groth16

JSON →
library0.6.0rscratesunverified

An implementation of the Groth 2016 zkSNARK proof system.

# Cargo.toml [dependencies] ark-groth16 = "0.6.0"
INSTALL
IMPORT
SIG · ARK-GROTH16
A
ark-groth16
cryptorustv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Groth16
use ark_groth16::Groth16;

Create a Groth16 proving system over BLS12-381.

use ark_groth16::Groth16; use ark_serialize::CanonicalSerialize; fn main() { let system = Groth16::<ark_bls12_381::Bls12_381>::new(); println!("Groth16 system created"); }
Debug
Known issues
gotchaRequires pairing-friendly elliptic curve backend (e.g., ark-bls12-381).
fix
Add ark-bls12-381 or another curve crate as a dependency.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
42
Resources
ark-groth16 — cargo add ark-groth16 · libregistry