hash_xxhash64()
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Returns an xxhash64 value for the input value.
hash_xxhash64(
source [,
mod])
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
source | scalar | ✔️ | The value to be hashed. |
mod | int |
A modulo value to be applied to the hash result, so that the output value is between 0 and mod - 1 . This parameter is useful for limiting the range of possible output values or for compressing the output of the hash function into a smaller range. |
The hash value of source. If mod is specified, the function returns the hash value modulo the value of mod, meaning that the output of the function will be the remainder of the hash value divided by mod. The output will be a value between 0
and mod - 1
, inclusive.
Kusto
print result=hash_xxhash64("World")
result |
---|
1846988464401551951 |
Kusto
print result=hash_xxhash64("World", 100)
result |
---|
51 |
Kusto
print result=hash_xxhash64(datetime("2015-01-01"))
result |
---|
1380966698541616202 |