pub trait VrfPublic: VrfCrypto {
// Required method
fn vrf_verify(
&self,
data: &Self::VrfSignData,
signature: &Self::VrfSignature,
) -> bool;
}
Expand description
VRF Public Key.
Required Methods§
sourcefn vrf_verify(
&self,
data: &Self::VrfSignData,
signature: &Self::VrfSignature,
) -> bool
fn vrf_verify( &self, data: &Self::VrfSignData, signature: &Self::VrfSignature, ) -> bool
Verify input data signature.