Type Alias sp_core::bandersnatch::Public
source · pub type Public = PublicBytes<PUBLIC_SERIALIZED_SIZE, BandersnatchTag>;
Expand description
Bandersnatch public key.
Aliased Type§
struct Public(pub [u8; 33], _);
Fields§
§0: [u8; 33]
Trait Implementations§
source§impl VrfCrypto for Public
impl VrfCrypto for Public
§type VrfPreOutput = VrfPreOutput
type VrfPreOutput = VrfPreOutput
VRF pre-output.
§type VrfSignData = VrfSignData
type VrfSignData = VrfSignData
VRF signing data.
§type VrfSignature = VrfSignature
type VrfSignature = VrfSignature
VRF signature.
source§impl VrfPublic for Public
impl VrfPublic for Public
source§fn 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.