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

Hash256 - script and chart function

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

Syntax:  

Hash256(expr{, expression})

Return data type: string

Arguments
Argument Description
expr The string to evaluate.
Example: Chart expressions
Example Result
Hash256( 'abc', 'xyz', '123' ) Returns MA&5]6+3=:>;>G%S<U*S2I:`=X*A.IO*8N\%Y7Q;YEJ

Hash256( Region, Year, Month )

Note: Region, Year, and Month are table fields.

Returns G7*=6GKPJ(Z+)^KM?<$'AI.)?U$#X2RB[:0ZP=+Z`F:

Example - Hash256 fundamentals

Example - Hash256 scenario with duplicate entries

Example - Hash256 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!