package b0

  1. Overview
  2. Docs

Xxh_64 is the xxHash 64-bit hash.

Hash function

val id : string

id is an US-ASCII string identifying the hash function.

val length : int

length is the byte length of hashes produced by the function.

val string : string -> t

string s is the hash of s.

val fd : Unix.file_descr -> t

fd fd mmap(2)s and hashes the object pointed by fd.

val file : Fpath.t -> (t, string) result

file f is the hash of file f.

OCaml

Innovation. Community. Security.