Returns a consistent hash value based on the input string. This function returns NULL for non-string types.
expression: The string to hash.
Examples
SELECT MASK_HASH('abcd-ABCD-1234') -- 770d599256e3902a0aacc9750cd1ca7f34be182632ba3dca3d2eb6f31dcc3d59
Last updated 2 years ago
Was this helpful?