Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Hash128 - script and chart function

Hash128() returns a 128-bit hash of the combined input expression values. The result is a 22-character string.Hash128() returns a 128-bit hash value of the combined input expression values. The result is a 22-character string.Hash values are useful for masking personal identifiable information (PII), such as customer names, social security numbers, or account numbers.

Syntax:  

Hash128(expr{, expression})

Return data type: string

Arguments
Argument Description
expr The string to evaluate.
Example: Chart expressions
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+

Example - Hash128 fundamentals

Example - Hash128 scenario with duplicate entries

Example - Hash128 scenario to anonymize data

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!