Module schnorrkel::context[][src]

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 fucntion.

Traits

SigningTranscript

Schnorr signing transcript

Functions

attach_rng

Attach a CryptoRng to a SigningTranscript to repalce the default ThreadRng

signing_context

Initialize a signing context from a static byte string that identifies the signature’s role in the larger protocol.