Registry / crypto / schnorr-pok

schnorr-pok

JSON →
library0.23.0rscratesunverified

Implements Schnorr, Okamoto, and Chaum-Pedersen protocols for proof of knowledge in elliptic curve and pairing groups.

# Cargo.toml [dependencies] schnorr_pok = "0.23.0"
INSTALL
IMPORT
SIG · SCHNORR-POK
S
schnorr-pok
cryptorustv0.23.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.

SchnorrProof
use schnorr_pok::SchnorrProof;

Creates a new Schnorr proof instance.

use schnorr_pok::SchnorrProof; fn main() { let proof = SchnorrProof::new(); println!("Schnorr proof created"); }
Debug
Known issues
gotchaRequires a cryptographic backend; ensure you have the correct feature flags enabled (e.g., `bls12_381`).
fix
Enable the appropriate feature for your elliptic curve or pairing group.
affects: >=0.23.0
Upgrade
Version history
0.23.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources