hash_combine()
適用於:✅Microsoft網狀架構✅Azure 數據✅總管 Azure 監視器✅Microsoft Sentinel
結合兩個或多個哈希的哈希值。
語法
hash_combine(
h1 ,
h2 [,
h3 ...])
深入瞭解 語法慣例。
參數
姓名 | 類型 | 必要 | 描述 |
---|---|---|---|
h1、 h2、... hN | long |
✔️ | 要結合的哈希值。 |
傳回
指定純量的組合哈希值。
範例
print value1 = "Hello", value2 = "World"
| extend h1 = hash(value1), h2=hash(value2)
| extend combined = hash_combine(h1, h2)
輸出
value1 | value2 | h1 | h2 | 組合的 |
---|---|---|---|---|
您好 | World | 753694413698530628 | 1846988464401551951 | -1440138333540407281 |