Registry / crypto / zcash-primitives

zcash-primitives

JSON →
library0.26.4rscratesunverified

Rust implementations of the Zcash primitives.

# Cargo.toml [dependencies] zcash_primitives = "0.26.4"
INSTALL
IMPORT
SIG · ZCASH-PRIMITIVES
Z
zcash-primitives
cryptorustv0.26.4
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.

SaplingVerificationContext
use zcash_primitives::sapling::SaplingVerificationContext;

Creates a new Sapling verification context.

use zcash_primitives::sapling::SaplingVerificationContext; fn main() { let ctx = SaplingVerificationContext::new(); println!("Context created"); }
Debug
Known issues
gotchaRequires pairing and group arithmetic features; may be slow without optimizations
fix
Enable the 'multicore' feature for parallel operations
affects: >=0.20.0
Upgrade
Version history
0.26.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
Resources
zcash-primitives — cargo add zcash-primitives · libregistry