package base

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

Install

Dune Dependency

Authors

Maintainers

Sources

base-v0.14.0.tar.gz
sha256=e89c4b898d9e93527f1c84f6784f9a92a1dfa86877f39ac4450a6cb69e866de6
md5=5a00382c724e97b6768aaa27481dd3cc

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
OCaml

Innovation. Community. Security.