Dac_plugin_registration.Makemodule Mapper : sig ... endval encoding :
Mavryk_dac_lib.Dac_plugin.hash Mavryk_base.TzPervasives.Data_encoding.tThe encoding of reveal hashes.
val equal :
Mavryk_dac_lib.Dac_plugin.hash ->
Mavryk_dac_lib.Dac_plugin.hash ->
boolequal h1 h2 determines if h1 and h2 are the same hash.
val hash_string :
scheme:Mavryk_dac_lib.Dac_plugin.supported_hashes ->
?key:string ->
string list ->
Mavryk_dac_lib.Dac_plugin.hashhash_string ~scheme ?key strings hashes strings using the supported hashing scheme given in input.
val hash_bytes :
scheme:Mavryk_dac_lib.Dac_plugin.supported_hashes ->
?key:bytes ->
bytes list ->
Mavryk_dac_lib.Dac_plugin.hashhash_bytes ~scheme ?key strings hashes bytes using the supported hashing scheme given in input.
val scheme_of_hash :
Mavryk_dac_lib.Dac_plugin.hash ->
Mavryk_dac_lib.Dac_plugin.supported_hashesscheme_of_hash hash returns the supported hashing scheme that was used to obtain hash.
val of_hex : string -> Mavryk_dac_lib.Dac_plugin.hash optionof_hex hex decodes a hex into hash.
val to_hex : Mavryk_dac_lib.Dac_plugin.hash -> stringto_hex hash encodes hash into hex.
val size : scheme:Mavryk_dac_lib.Dac_plugin.supported_hashes -> intsize ~scheme returns the size of reveal hashes using the scheme specified in input.