Registry / crypto / dusk-plonk

dusk-plonk

JSON →
library0.22.0rscratesunverified

A pure-Rust implementation of the PLONK zero-knowledge proof algorithm.

# Cargo.toml [dependencies] dusk-plonk = "0.22.0"
INSTALL
IMPORT
SIG · DUSK-PLONK
D
dusk-plonk
cryptorustv0.22.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.

Prover
use dusk_plonk::prelude::*;

Sets up public parameters for PLONK proofs.

use dusk_plonk::prelude::*; fn main() -> Result<(), Box<dyn std::error::Error>> { let pp = PublicParameters::setup(1 << 10, &mut rand::thread_rng())?; println!("Public parameters generated"); Ok(()) }
Debug
Known issues
gotchaRequires the 'alloc' feature for heap allocation; may need std.
fix
Enable the 'std' feature or ensure allocator is available.
affects: >=0.22.0
Upgrade
Version history
0.22.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
dusk-plonk — cargo add dusk-plonk · libregistry