Module Conex_resource.Digest
type t
= alg * string
A digest is a pair of digest algorithm and value.
val pp : t Conex_utils.fmt
pp digest
is a pretty printer fordigest
.
val compare : t -> t -> int
compare a b
comparesa
andb
, returns 0 if equal, -1 if smaller, 1 if bigger.
val equal : t -> t -> bool
equal a b
istrue
whena
andb
use the same algorithm type, and have the same value.
val to_string : t -> string
to_string digest
is thestring
representing thedigest
.