Module V1.Of_V0

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 : Mavryk_crypto__.Signature_v0.public_key_hash -> Public_key_hash.t

Convert a public key hash from V0 to V1.

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

Convert a public key from V0 to V1.

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

Convert a secret key from V0 to V1.

val signature : Mavryk_crypto__.Signature_v0.signature -> t

Convert a signature from V0 to V1.