Trait schnorrkel::vrf::VRFSigningTranscript

source ·
pub trait VRFSigningTranscript {
    type T: SigningTranscript;

    // Required method
    fn transcript_with_malleability_addressed(
        self,
        publickey: &PublicKey,
    ) -> Self::T;
}
Expand description

SigningTranscript helper trait that manages VRF output malleability.

In short, VRFSigningTranscript acts like a default argument malleabe : bool = false for every mathod that uses it instead of SigningTranscript.

Required Associated Types§

source

type T: SigningTranscript

Real underlying SigningTranscript

Required Methods§

source

fn transcript_with_malleability_addressed( self, publickey: &PublicKey, ) -> Self::T

Return the underlying SigningTranscript after addressing VRF output malleability, usually by making it non-malleable,

Implementors§