Type Alias SchnorrPrivKey

Source
pub type SchnorrPrivKey = SignKey<Fr>;

Aliased Type§

struct SchnorrPrivKey(/* private fields */);

Trait Implementations§

Source§

impl PrivateSignatureKey for SchnorrPrivKey

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