package b0

  1. Overview
  2. Docs
On This Page
  1. Hash function
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module B0_hash.Xxh3_128Source

Xxh3_128 is the xxHash3 128-bit hash.

Hash function

Sourceval id : string

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

Sourceval length : int

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

Sourceval string : string -> t

string s is the hash of s.

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

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

file f is the hash of file f.