Module Hash.Xxh_64

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.

  • raises Sys_error

    if mmap fails.

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

file f is the hash of file f.