Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Multihash.HasherSourceval digest :
Multicodec.multihash ->
Cstruct.t ->
(Cstruct.t, [ `Unsupported | `Msg of string ]) resultdigest ident v should digest v using the hash function related to ident
val digest_string :
Multicodec.multihash ->
string ->
(string, [ `Unsupported | `Msg of string ]) resultdigest ident v should digest v using the hash function related to ident
val iter :
Multicodec.multihash ->
((Cstruct.t -> unit) -> unit) ->
(Cstruct.t, [ `Unsupported | `Msg of string ]) resultval iter_string :
Multicodec.multihash ->
((string -> unit) -> unit) ->
(string, [ `Unsupported | `Msg of string ]) resultdigest ident v should digest v using the hash function related to ident
val is_supported : Multicodec.multihash -> boolA subset of Multicodec.multihash that this hasher supports