package base

  1. Overview
  2. Docs
Full standard library replacement for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.14.4.tar.gz
md5=89c571906217b5513682123b74327522
sha512=d8fdc0de663797b73b65f1753e4e46f3de58dc63a9bbac10d128f84a208da16d231500906796dbc1ac6d6566f4eb4007ff7c02200b4617cc8dd475c10446cdb6

doc/base.md5/Md5_lib/index.html

Module Md5_lib

type t
val compare : t -> t -> int
val length : int

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

val to_binary : t -> string
val of_binary_exn : string -> t
val unsafe_of_binary : string -> t

assumes the input is 16 bytes without checking

val to_hex : t -> string
val of_hex_exn : string -> t
val string : string -> t
val bytes : bytes -> t
val subbytes : bytes -> pos:int -> len:int -> t