Trait schnorrkel::vrf::VRFSigningTranscript
source · [−]pub trait VRFSigningTranscript {
type T: SigningTranscript;
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
.
Associated Types
type T: SigningTranscript
type T: SigningTranscript
Real underlying SigningTranscript
Required methods
fn 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,