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 CryptoType for Public

§

type Pair = Pair

The pair key type of this crypto.
source§

impl VrfCrypto for Public

§

type VrfInput = VrfInput

VRF input.
§

type VrfPreOutput = VrfPreOutput

VRF pre-output.
§

type VrfSignData = VrfSignData

VRF signing data.
§

type VrfSignature = VrfSignature

VRF signature.
source§

impl VrfPublic for Public

source§

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

Verify input data signature.