plebeia
Merkle Patricia tree implementation
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
2 The type
val zero : t
28 bytes of 0's
2 Printer and parser
val to_string : t -> string
Returns a binary string representation of hash
val of_string : string -> t
Create a hash from 28 bytes binary string. String with an invalid length raises Assert_failure
val to_hex_string : t -> string
Create a hash from a hexiadecimal representation of 28 bytes binary string. Input with an invalid length raises Assert_failure
val encoding : t Data_encoding.t
Data encoding
2 Hash computation
val hash : string -> t
Compute the hash of the given binary string
val hash_list : string list -> t
Compute the hash of the concatenation of the given binary strings
2 Manipulation