sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
module Mapper : sig ... end
The encoding of reveal hashes.
val equal :
Tezos_dac_lib.Dac_plugin.hash ->
Tezos_dac_lib.Dac_plugin.hash ->
bool
equal h1 h2
determines if h1
and h2
are the same hash.
val hash_string :
scheme:Tezos_dac_lib.Dac_plugin.supported_hashes ->
?key:string ->
string list ->
Tezos_dac_lib.Dac_plugin.hash
hash_string ~scheme ?key strings
hashes strings
using the supported hashing scheme
given in input.
val hash_bytes :
scheme:Tezos_dac_lib.Dac_plugin.supported_hashes ->
?key:bytes ->
bytes list ->
Tezos_dac_lib.Dac_plugin.hash
hash_bytes ~scheme ?key strings
hashes bytes
using the supported hashing scheme
given in input.
val scheme_of_hash :
Tezos_dac_lib.Dac_plugin.hash ->
Tezos_dac_lib.Dac_plugin.supported_hashes
scheme_of_hash
hash returns the supported hashing scheme that was used to obtain hash
.
val of_hex : string -> Tezos_dac_lib.Dac_plugin.hash option
of_hex hex
decodes a hex into hash.
val to_hex : Tezos_dac_lib.Dac_plugin.hash -> string
to_hex hash
encodes hash into hex.
val size : scheme:Tezos_dac_lib.Dac_plugin.supported_hashes -> int
size ~scheme
returns the size of reveal hashes using the scheme
specified in input.