A Common Lisp implementation of Google's CityHash family of hash functions.
For more information see the CityHash web site.
Hashes the contents of OCTETS, a vector of (UNSIGNED-BYTE 8) from index START
to index END and returns the 32-bit hash value as an (UNSIGNED-BYTE 32). START
defaults to zero, while END defaults to the length of OCTETS.
Hashes the contents of OCTETS, a vector of (UNSIGNED-BYTE 8) from index START
to index END and returns the 64-bit hash value as an (UNSIGNED-BYTE 64). START
defaults to zero, while END defaults to the length of OCTETS.
Hashes the contents of OCTETS, a vector of (UNSIGNED-BYTE 8), from index START
to index END together with seeds SEED0 and SEED1, each of type (UNSIGNED-BYTE 64),
and returns the 64-bit hash value as an (UNSIGNED-BYTE 64). START defaults
to zero, while END defaults to the length of OCTETS.
Hashes the contents of OCTETS, a vector of (UNSIGNED-BYTE 8), from index START
to index END together with SEED of type (UNSIGNED-BYTE 64), and returns the
64-bit hash value as an (UNSIGNED-BYTE 64). START defaults to zero, while END
defaults to the length of OCTETS.
Hashes the contents of OCTETS, a vector of (UNSIGNED-BYTE 8), from index START
to index END together with seeds X and Y, each of type (UNSIGNED-BYTE 64), and
returns the 128-bit hash value as two values of type (UNSIGNED-BYTE 64). START
defaults to zero, while END defaults to the length of OCTETS.
Hashes the contents of OCTETS, a vector of (UNSIGNED-BYTE 8), from index START
to index END and returns the 128-bit hash value as two values of type
(UNSIGNED-BYTE 64). START defaults to zero, while END defaults to the length
of OCTETS.