Trait sp_core::crypto::VrfPublic

source ·
pub trait VrfPublic: VrfCrypto {
    // Required method
    fn vrf_verify(
        &self,
        data: &Self::VrfSignData,
        signature: &Self::VrfSignature,
    ) -> bool;
}
Expand description

VRF Public Key.

Required Methods§

source

fn vrf_verify( &self, data: &Self::VrfSignData, signature: &Self::VrfSignature, ) -> bool

Verify input data signature.

Implementors§