package octez-libs

  1. Overview
  2. Docs

This module provides conversion functions for values (of keys and signatures) of the module Signature_V0. Note that these functions are total because Signature_v1 supports more signature kinds than Signature_v0.

val public_key_hash : Tezos_crypto__.Signature_v0.public_key_hash -> Public_key_hash.t

Convert a public key hash from V0 to V1.

val public_key : Tezos_crypto__.Signature_v0.public_key -> Public_key.t

Convert a public key from V0 to V1.

val secret_key : Tezos_crypto__.Signature_v0.secret_key -> Secret_key.t

Convert a secret key from V0 to V1.

val signature : Tezos_crypto__.Signature_v0.signature -> t

Convert a signature from V0 to V1.

OCaml

Innovation. Community. Security.