Module context

Module context 

Source
Expand description

§Schnorr signature contexts and configuration, adaptable to most Schnorr signature schemes.

Structs§

SigningContext
Schnorr signing context
SigningTranscriptWithRng
Schnorr signing transcript with the default ThreadRng replaced by an arbitrary CryptoRng.
XoFTranscript
Very simple transcript construction from a modern hash function.

Traits§

SigningTranscript
Schnorr signing transcript

Functions§

attach_rng
Attach a CryptoRng to a SigningTranscript to replace the default ThreadRng.
signing_context
Initialize a signing context from a static byte string that identifies the signature’s role in the larger protocol.