Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 558 Bytes

File metadata and controls

22 lines (16 loc) · 558 Bytes
description
Returns a consistent hash value based on the input string. This function returns NULL for non-string types.

MASK_HASH

Syntax

MASK_HASH(expression varchar) → varchar

  • expression: The string to hash.

Examples

{% code title="MASK_HASH example" %}

SELECT MASK_HASH('abcd-ABCD-1234')
-- 770d599256e3902a0aacc9750cd1ca7f34be182632ba3dca3d2eb6f31dcc3d59

{% endcode %}