Registry / crypto / bellperson

bellperson

JSON →
library0.27.0rscratesunverified

A zk-SNARK library for constructing and verifying zero-knowledge proofs.

# Cargo.toml [dependencies] bellperson = "0.27.0"
INSTALL
IMPORT
SIG · BELLPERSON
B
bellperson
cryptorustv0.27.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.

create_random_proof
use bellperson::groth16::create_random_proof;

Create a Groth16 proof using a random number generator.

use bellperson::groth16::create_random_proof; use bellperson::r1cs::ConstraintSystem; fn main() { // Example placeholder; actual usage requires circuit setup. println!("Bellperson zk-SNARK library"); }
Debug
Known issues
gotchaRequires pairing-friendly elliptic curve implementation (e.g., BLS12-381).
fix
Add a curve crate like `bls12_381` as a dependency.
affects: >=0.27.0
Upgrade
Version history
0.27.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
bellperson — cargo add bellperson · libregistry