[−][src]Crate sigma_fun
Re-exports
pub use generic_array; |
pub use generic_array::typenum; |
pub use rand_core; |
Modules
ed25519 | Proofs of knowledge of discrete logarithm on Edwards twist of curve25519 using using |
ext | Module for implemenations of protocols that are composed of sigma protocols. |
secp256k1 | Proofs of knowledge of discrete logarithm for the secp256k1 curve using |
Structs
All | Combinator for proving all of N statements of the same type is true. |
And | Combinator for proving that both |
CompactProof | A proof produced by |
Eq | Combinator for showing that two Sigma protocols have the same witness. |
EqAll | Combinator for proving any number of statements of the same kind have the same witness. |
FiatShamir | Applies the Fiat-Shamir transform to a given |
HashTranscript | A transcript which consists of a hash with fixed length output and a seedable RNG. |
Or | Combinator for proving that |
Enums
Either | Enum for the prover to choose which of the two statements she knows. |
Traits
ProverTranscript | A |
Sigma | The |
Transcript | A trait for a Fiat-Shamir proof transcript. |