Scalar FunctionsHash Functions
hash_many
Returns a combined hash value of multiple values.
Each value is hashed individually and then the hashes are combined. Each value hashes as in hash(): a dynamic value hashes its underlying value, an array or property bag its JSON with keys sorted. ADX rejects a dynamic argument.
Syntax
hash_many(s1)Parameters
Prop
Type
Returns: long
Examples
Example 1 — Combined hash of warrior name, clan, and weapon
print hash_many("Ragnar", "Lothbrok", "axe")| print_0 (long) |
|---|
| 5683293761115432936 |
Example 2 — Hash combining target and year
print hash_many("Lindisfarne", 793)| print_0 (long) |
|---|
| -7081364523472078266 |