Expand description
Sigma protocols
Modules§
- dht_
protocol - Discrete logarithm signature protocol
- dlog_
protocol - Discrete logarithm signature protocol
- private_
input - Private input types for the prover’s secrets
- proof_
tree - ProofTree
- prover
- Interpreter with enhanced functionality to prove statements.
- sig_
serializer - Serialization of proof tree signatures
- unchecked_
tree - Unchecked proof tree types
- unproven_
tree - Unproven tree types
- verifier
- Verifier
- wscalar
- Wrapper for Scalar mainly for Arbitrary impl and JSON encoding
Enums§
- First
Prover Message - First message from the prover (message
a
ofSigmaProtocol
)
Constants§
- SOUNDNESS_
BITS - A size of challenge in Sigma protocols, in bits. If this anything but 192, threshold won’t work, because we have polynomials over GF(2^192) and no others. We get the challenge by reducing hash function output to proper value.
- SOUNDNESS_
BYTES - A size of challenge in Sigma protocols, in bytes