Upsycle_router.Crypto
val pubkey_to_cstruct : pubkey -> Cstruct.t
val pubkey_of_yaml : Yaml.value -> pubkey Yaml.res
val pubkey_to_yaml : pubkey -> Yaml.value
val sign : privkey -> string -> string
val verify : pubkey -> string -> string -> bool
Be sure to call `Util_crypto_io.init` before using this.
Be sure to call `Util_crypto_io.init` before using this.
Derive the corresponding public key for a private key.
val fingerprint_ed25519_sha256 : pubkey -> Mirage_crypto.Hash.hash * Cstruct.t
module Mk : sig ... end