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§
sourcetype T: SigningTranscript
type T: SigningTranscript
Real underlying SigningTranscript
Required Methods§
sourcefn transcript_with_malleability_addressed(
self,
publickey: &PublicKey,
) -> Self::T
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,