key/ed25519/private_key

Types

pub opaque type PrivateKey

Functions

pub fn deserialize(
  buf: BitArray,
) -> Result(#(PrivateKey, BitArray), String)
pub fn deserialize_all(
  buf: BitArray,
) -> Result(PrivateKey, String)
pub fn from_base64(base64: String) -> Result(PrivateKey, String)
pub fn from_base64_url(
  base64_url: String,
) -> Result(PrivateKey, String)
pub fn from_hex(hex: String) -> Result(PrivateKey, String)
pub fn from_string(str: String) -> Result(PrivateKey, String)
pub fn generate() -> PrivateKey
pub fn serialize(
  builder: BytesBuilder,
  key: PrivateKey,
) -> BytesBuilder
pub fn serialize_to_bits(key: PrivateKey) -> BitArray
pub fn to_base64(key: PrivateKey) -> String
pub fn to_base64_url(key: PrivateKey) -> String
pub fn to_hex(key: PrivateKey) -> String
Search Document