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(private_key: PrivateKey) -> BitArray
pub fn to_base64(private_key: PrivateKey) -> String
pub fn to_base64_url(private_key: PrivateKey) -> String
pub fn to_hex(private_key: PrivateKey) -> String
Search Document