Type Alias hotshot_types::signature_key::BLSPrivKey

source ·
pub type BLSPrivKey = SignKey;
Expand description

BLS private key used to sign a message

Aliased Type§

struct BLSPrivKey(/* private fields */);

Trait Implementations§

source§

impl PrivateSignatureKey for BLSPrivKey

source§

fn to_bytes(&self) -> Vec<u8>

Serialize the private key into bytes
source§

fn from_bytes(bytes: &[u8]) -> Result<Self>

Deserialize the private key from bytes Read more
source§

fn to_tagged_base64(&self) -> Result<TaggedBase64, Tb64Error>

Serialize the private key into TaggedBase64 blob. Read more