Module Md5_lib

type t
val compare : t -> t -> int @@ portable
val compare__local : t @ local -> (t @ local -> int) @ local @@ portable
val length : int @@ portable

length = 16 is the size of the digest in bytes.

val to_binary : t -> string @@ portable
val to_binary_local : t @ local -> string @ local @@ portable
val of_binary_exn : string -> t @@ portable
val unsafe_of_binary : string -> t @@ portable

assumes the input is 16 bytes without checking

val unsafe_of_binary_local : string @ local -> t @ local @@ portable
val unsafe_of_binary__local : string @ local -> t @ local @@ portable
val globalize : t @ local -> t @@ portable
val to_hex : t -> string @@ portable
val of_hex_exn : string -> t @@ portable
val string : string -> t @@ portable
val bytes : bytes -> t @@ portable
val subbytes : bytes -> pos:int -> len:int -> t @@ portable