Module protocol

Module protocol 

Source

Modules§

authentication
compression
Groth16 proof compression

Structs§

Proof
Wrap a proof object so we have serde support

Enums§

ProofError

Functions§

generate_nullifier_hash
Generates the nullifier hash
generate_proof
Generates a semaphore proof
generate_proof_rng
Generates a semaphore proof from entropy
generate_witness
path_index
Compute path index
verify_proof
Verifies a given semaphore proof
warmup_for_verification
Preloads the ZKEY in memory to skip the lazy loading at first verification