-
Method Summary
Modifier and TypeMethodDescriptionstatic Hasher64Returns aHasher64implementing the 64-bit FarmHashNa algorithm with default seed.static Hasher64farmHashNa(long seed) Returns aHasher64implementing the 64-bit FarmHashNa algorithm using the given seed value.static Hasher64farmHashNa(long seed0, long seed1) Returns aHasher64implementing the 64-bit FarmHashNa algorithm using the given seed values.static Hasher64Returns aHasher64implementing the 64-bit FarmHashUo algorithm with default seed.static Hasher64farmHashUo(long seed) Returns aHasher64implementing the 64-bit FarmHashUo algorithm using the given seed value.static Hasher64farmHashUo(long seed0, long seed1) Returns aHasher64implementing the 64-bit FarmHashUo algorithm using the given seed values.static Hasher64Returns aHasher64implementing the 64-bit Komihash (version 4.3) algorithm using a seed value of zero.static Hasher64komihash4_3(long seed) Returns aHasher64implementing the 64-bit Komihash (version 4.3) algorithm using the given seed value.static Hasher64Returns aHasher64implementing the 64-bit Komihash (version 5.0) algorithm using a seed value of zero.static Hasher64komihash5_0(long seed) Returns aHasher64implementing the 64-bit Komihash (version 5.0) algorithm using the given seed value.static Hasher128Returns aHasher128implementing the 128-bit Murmur3 algorithm (little-endian) using a seed value of zero.static Hasher128murmur3_128(int seed) Returns aHasher128implementing the 128-bit Murmur3 algorithm (little-endian) using the given seed value.static Hasher32Returns aHasher32implementing the 32-bit Murmur3 algorithm (little-endian) using a seed value of zero.static Hasher32murmur3_32(int seed) Returns aHasher32implementing the 32-bit Murmur3 algorithm (little-endian) using the given seed value.static Hasher64polymurHash2_0(long tweak, long seed) Returns aHasher64implementing the 64-bit PolymurHash (version 2.0) algorithm using the given tweak and seed value.static Hasher64polymurHash2_0(long tweak, long kSeed, long sSeed) Returns aHasher64implementing the 64-bit PolymurHash (version 2.0) algorithm using the given tweak and seed values.static Hasher64Returns aHasher64implementing the 64-bit RapidHash v3 algorithm using a seed value of zero and the default secret.static Hasher64rapidhash3(long seed) Returns aHasher64implementing the 64-bit RapidHash v3 algorithm using the given seed value and the default secret.static Hasher64Returns aHasher64implementing the 64-bit Wyhash (version final 3) algorithm using a seed value of zero and the default secret.static Hasher64wyhashFinal3(long seed) Returns aHasher64implementing the 64-bit Wyhash (version final 3) algorithm using the given seed value and the default secret.static Hasher64wyhashFinal3(long seed, long seedForSecret) Returns aHasher64implementing the 64-bit Wyhash (version final 3) algorithm using the given seed values.static Hasher64Returns aHasher64implementing the 64-bit Wyhash (version final 4) algorithm using a seed value of zero and the default secret.static Hasher64wyhashFinal4(long seed) Returns aHasher64implementing the 64-bit Wyhash (version final 4) algorithm using the given seed value and the default secret.static Hasher64wyhashFinal4(long seed, long seedForSecret) Returns aHasher64implementing the 64-bit Wyhash (version final 4) algorithm using the given seed values.static Hasher128xxh3_128()Returns aHasher128implementing the 128-bit XXH3 algorithm.static Hasher128xxh3_128(long seed) Returns aHasher128implementing the 128-bit XXH3 algorithm using the given seed value.static Hasher64xxh3_64()Returns aHasher64implementing the 64-bit XXH3 algorithm.static Hasher64xxh3_64(long seed) Returns aHasher64implementing the 64-bit XXH3 algorithm using the given seed value.
-
Method Details
-
murmur3_32
Returns aHasher32implementing the 32-bit Murmur3 algorithm (little-endian) using a seed value of zero.This implementation is compatible with the C++ reference implementation of
MurmurHash3_x86_32defined in MurmurHash3.cpp on an Intel x86 architecture.- Returns:
- a hasher instance
-
murmur3_32
Returns aHasher32implementing the 32-bit Murmur3 algorithm (little-endian) using the given seed value.This implementation is compatible with the C++ reference implementation of
MurmurHash3_x86_32defined in MurmurHash3.cpp on an Intel x86 architecture.- Parameters:
seed- a 32-bit seed- Returns:
- a hasher instance
-
murmur3_128
Returns aHasher128implementing the 128-bit Murmur3 algorithm (little-endian) using a seed value of zero.This implementation is compatible with the C++ reference implementation of
MurmurHash3_x64_128defined in MurmurHash3.cpp on an Intel x86 architecture.- Returns:
- a hasher instance
-
murmur3_128
Returns aHasher128implementing the 128-bit Murmur3 algorithm (little-endian) using the given seed value.This implementation is compatible with the C++ reference implementation of
MurmurHash3_x64_128defined in MurmurHash3.cpp on an Intel x86 architecture.- Parameters:
seed- a 32-bit seed- Returns:
- a hasher instance
-
komihash4_3
Returns aHasher64implementing the 64-bit Komihash (version 4.3) algorithm using a seed value of zero.This implementation is compatible with the C++ reference implementation of
komihashdefined in komihash.h on an Intel x86 architecture. Furthermore, it is compatible with Komihash versions 4.5 and 4.7.- Returns:
- a hasher instance
-
komihash4_3
Returns aHasher64implementing the 64-bit Komihash (version 4.3) algorithm using the given seed value.This implementation is compatible with the C++ reference implementation of
komihashdefined in komihash.h on an Intel x86 architecture. Furthermore, it is compatible with Komihash versions 4.5 and 4.7.This implementation is also compatible with Komihash versions 4.5 and 4.7.
- Parameters:
seed- a 64-bit seed- Returns:
- a hasher instance
-
komihash5_0
Returns aHasher64implementing the 64-bit Komihash (version 5.0) algorithm using a seed value of zero.This implementation is compatible with the C++ reference implementation of
komihashdefined in komihash.h on an Intel x86 architecture.This implementation is also compatible with Komihash versions 5.1 and 5.7
- Returns:
- a hasher instance
-
komihash5_0
Returns aHasher64implementing the 64-bit Komihash (version 5.0) algorithm using the given seed value.This implementation is compatible with the C++ reference implementation of
komihashdefined in komihash.h on an Intel x86 architecture.This implementation is also compatible with Komihash versions 5.1 and 5.7
- Parameters:
seed- a 64-bit seed- Returns:
- a hasher instance
-
polymurHash2_0
Returns aHasher64implementing the 64-bit PolymurHash (version 2.0) algorithm using the given tweak and seed value.This implementation is compatible with the C++ reference implementation of
polymur_hashdefined in polymur-hash.h on an Intel x86 architecture.- Parameters:
tweak- a 64-bit tweakseed- a 64-bit seed- Returns:
- a hasher instance
-
polymurHash2_0
Returns aHasher64implementing the 64-bit PolymurHash (version 2.0) algorithm using the given tweak and seed values.This implementation is compatible with the C++ reference implementation of
polymur_hashdefined in polymur-hash.h on an Intel x86 architecture.- Parameters:
tweak- a 64-bit tweakkSeed- a 64-bit kSeedsSeed- a 64-bit kSeed- Returns:
- a hasher instance
-
wyhashFinal3
Returns aHasher64implementing the 64-bit Wyhash (version final 3) algorithm using a seed value of zero and the default secret.This implementation is compatible with the C++ reference implementation of
wyhashdefined in wyhash.h on an Intel x86 architecture.This implementation is also compatible with Komihash versions 4.5 and 4.7.
- Returns:
- a hasher instance
-
wyhashFinal3
Returns aHasher64implementing the 64-bit Wyhash (version final 3) algorithm using the given seed value and the default secret.This implementation is compatible with the C++ reference implementation of
wyhashdefined in wyhash.h on an Intel x86 architecture.- Parameters:
seed- a 64-bit seed- Returns:
- a hasher instance
-
wyhashFinal3
Returns aHasher64implementing the 64-bit Wyhash (version final 3) algorithm using the given seed values.This implementation is compatible with the C++ reference implementation of
wyhashandmake_secretdefined in wyhash.h on an Intel x86 architecture.- Parameters:
seed- a 64-bit seedseedForSecret- a 64-bit seed for secret generation- Returns:
- a hasher instance
-
wyhashFinal4
Returns aHasher64implementing the 64-bit Wyhash (version final 4) algorithm using a seed value of zero and the default secret.This implementation is compatible with the C++ reference implementation of
wyhashdefined in wyhash.h on an Intel x86 architecture.- Returns:
- a hasher instance
-
wyhashFinal4
Returns aHasher64implementing the 64-bit Wyhash (version final 4) algorithm using the given seed value and the default secret.This implementation is compatible with the C++ reference implementation of
wyhashdefined in wyhash.h on an Intel x86 architecture.- Parameters:
seed- a 64-bit seed- Returns:
- a hasher instance
-
wyhashFinal4
Returns aHasher64implementing the 64-bit Wyhash (version final 4) algorithm using the given seed values.This implementation is compatible with the C++ reference implementation of
wyhashandmake_secretdefined in wyhash.h on an Intel x86 architecture.- Parameters:
seed- a 64-bit seedseedForSecret- a 64-bit seed for secret generation- Returns:
- a hasher instance
-
farmHashNa
Returns aHasher64implementing the 64-bit FarmHashNa algorithm with default seed.This implementation is compatible with the C++ reference implementation of
farmhashna::Hash64defined in farmhash.cc on an Intel x86 architecture.- Returns:
- a hasher instance
-
farmHashNa
Returns aHasher64implementing the 64-bit FarmHashNa algorithm using the given seed value.This implementation is compatible with the C++ reference implementation of
farmhashna::Hash64WithSeeddefined in farmhash.cc on an Intel x86 architecture.- Parameters:
seed- the seed- Returns:
- a hasher instance
-
farmHashNa
Returns aHasher64implementing the 64-bit FarmHashNa algorithm using the given seed values.This implementation is compatible with the C++ reference implementation of
farmhashna::Hash64WithSeedsdefined in farmhash.cc on an Intel x86 architecture.- Parameters:
seed0- the first seed valueseed1- the second seed value- Returns:
- a hasher instance
-
farmHashUo
Returns aHasher64implementing the 64-bit FarmHashUo algorithm with default seed.This implementation is compatible with the C++ reference implementation of
farmhashuo::Hash64defined in farmhash.cc on an Intel x86 architecture.- Returns:
- a hasher instance
-
farmHashUo
Returns aHasher64implementing the 64-bit FarmHashUo algorithm using the given seed value.This implementation is compatible with the C++ reference implementation of
farmhashuo::Hash64WithSeeddefined in farmhash.cc on an Intel x86 architecture.- Parameters:
seed- the seed- Returns:
- a hasher instance
-
farmHashUo
Returns aHasher64implementing the 64-bit FarmHashUo algorithm using the given seed values.This implementation is compatible with the C++ reference implementation of
farmhashuo::Hash64WithSeedsdefined in farmhash.cc on an Intel x86 architecture.- Parameters:
seed0- the first seed valueseed1- the second seed value- Returns:
- a hasher instance
-
xxh3_64
Returns aHasher64implementing the 64-bit XXH3 algorithm.This implementation is compatible with the C++ reference implementation of
XXH3_64bitsdefined in xxhash.h on an Intel x86 architecture.- Returns:
- a hasher instance
-
xxh3_64
Returns aHasher64implementing the 64-bit XXH3 algorithm using the given seed value.This implementation is compatible with the C++ reference implementation of
XXH3_64bits_withSeeddefined in xxhash.h on an Intel x86 architecture.- Parameters:
seed- the seed value- Returns:
- a hasher instance
-
xxh3_128
Returns aHasher128implementing the 128-bit XXH3 algorithm.This implementation is compatible with the C++ reference implementation of
XXH3_128bitsdefined in xxhash.h on an Intel x86 architecture.- Returns:
- a hasher instance
-
xxh3_128
Returns aHasher128implementing the 128-bit XXH3 algorithm using the given seed value.This implementation is compatible with the C++ reference implementation of
XXH3_128bits_withSeeddefined in xxhash.h on an Intel x86 architecture.- Parameters:
seed- the seed value- Returns:
- a hasher instance
-
rapidhash3
Returns aHasher64implementing the 64-bit RapidHash v3 algorithm using a seed value of zero and the default secret.This implementation is compatible with the C++ reference implementation of
rapidhashdefined in rapidhash.h on an Intel x86 architecture.- Returns:
- a hasher instance
-
rapidhash3
Returns aHasher64implementing the 64-bit RapidHash v3 algorithm using the given seed value and the default secret.This implementation is compatible with the C++ reference implementation of
rapidhash_withSeeddefined in rapidhash.h on an Intel x86 architecture.- Parameters:
seed- a 64-bit seed- Returns:
- a hasher instance
-