pub struct Malleable<T: SigningTranscript>(pub T);
Expand description

VRF SigningTranscript for malleable VRF ouputs.

Warning We caution that malleable VRF outputs are insecure when used in conjunction with HDKD, as provided in dervie.rs. Attackers could translate malleable VRF outputs from one soft subkey to another soft subkey, gaining early knowledge of the VRF output. We think most VRF applicaitons for which HDKH soudns suitable benefit from using implicit certificates insead of HDKD anyways, which should also be secure in combination with HDKD. We always use non-malleable VRF inputs in our convenience methods.

Tuple Fields

0: T

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Real underlying SigningTranscript

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.