package checkseum

  1. Overview
  2. Docs

Module type Checkseum.SSource

Representation of the checksum value.

Sourceval pp : Format.formatter -> t -> unit

Pretty-printer of t.

Sourceval equal : t -> t -> bool

The equal function of t.

Sourceval default : t

Default value of t.

Sourceval digest_bytes : Bytes.t -> int -> int -> t -> t

digest_bytes msg off len t is the digest of msg at off on len byte(s).

Sourceval digest_string : String.t -> int -> int -> t -> t

Same as digest_bytes but for String.t.

Sourceval digest_bigstring : bigstring -> int -> int -> t -> t

Same as digest_bigstring but for bigstring.

OCaml

Innovation. Community. Security.