Hash128 - script and chart function
Hash128() returns a 128-bit hash of the combined input expression values. The result is a 22-character string.
Syntax:
Hash128(expr{, expression})
Return data type: string
Example | Result |
---|---|
Hash128 ( 'abc', 'xyz', '123' ) | Returns 'MA&5]6+3=:>:>G%S<U*S2+'. |
Hash128 ( Region, Year, Month ) Note: Region, Year, and Month are table fields. |
Returns 'G7*=6GKPJ(Z+)^KM?<$'A+'. |
Hash_128:
Load *,
Hash128(Region, Year, Month) as Hash128;
Load * inline [
Region, Year, Month
abc, xyz, 123
EU, 2022, 01
UK, 2022, 02
US, 2022, 02 ];
Result
Region | Year | Month | Hash128 |
---|---|---|---|
abc | xyz | 123 | MA&5]6+3=:>;>G%S<U*S2+ |
EU | 2022 | 01 | B40^K&[T@!;VB'XR]<5=/$ |
UK | 2022 | 02 | O5T;+1?[B&"F&1//MA[MN! |
US | 2022 | 02 | C6@#]4#_G-(]J7EQY#KRW0 |