hash_xxhash64
The hash_xxhash64 function returns a 64-bit hash value for the input value.
Syntax
hash_xxhash64( Source, Mod )
Arguments
- Source: The value to be hashed.
- Mod: An optional modulo value to be applied to the hash result, so that the output value is between
0andMod - 1.
Returns
The hash value of Source. If Mod is specified, the function returns the hash value modulo the value of Mod.
Examples
xxhash64("World")returns as1846988464401551951xxhash64("World", 100)returns as51 (1846988464401551951 % 100)xxhash64(datetime("2015-01-01"))returns as1380966698541616202