pub trait VrfSecret: VrfCrypto {
    // Required methods
    fn vrf_output(&self, data: &Self::VrfInput) -> Self::VrfOutput;
    fn vrf_sign(&self, input: &Self::VrfSignData) -> Self::VrfSignature;
}
Expand description

VRF Secret Key.

Required Methods§

fn vrf_output(&self, data: &Self::VrfInput) -> Self::VrfOutput

Get VRF-specific output .

fn vrf_sign(&self, input: &Self::VrfSignData) -> Self::VrfSignature

Sign VRF-specific data.

Implementors§

§

impl VrfSecret for Pair