V2.Of_V1
This module provides conversion functions for values (of keys and signatures) of the module Signature_V1
. Note that these functions are total because Signature_v1
supports more signature kinds than Signature_v0
.
val public_key_hash :
Tezos_crypto__.Signature_v1.public_key_hash ->
Public_key_hash.t
Convert a public key hash from V1 to V2.
val public_key : Tezos_crypto__.Signature_v1.public_key -> Public_key.t
Convert a public key from V1 to V2.
val secret_key : Tezos_crypto__.Signature_v1.secret_key -> Secret_key.t
Convert a secret key from V1 to V2.
val signature : Tezos_crypto__.Signature_v1.signature -> t
Convert a signature from V1 to V2.