hash_combine()

Combines hash values of two or more hashes.

Syntax

hash_combine(h1 , h2 [, h3 ...])

Learn more about syntax conventions.

Parameters

Name Type Required Description
h1, h2, ... hN long ✔️ The hash values to combine.

Returns

The combined hash value of the given scalars.

Examples

print value1 = "Hello", value2 = "World"
| extend h1 = hash(value1), h2=hash(value2)
| extend combined = hash_combine(h1, h2)

Output

value1 value2 h1 h2 combined
Hello World 753694413698530628 1846988464401551951 -1440138333540407281