description |
---|
Computes the SHA-1 hash value of a string. |
- expression: The string to hash.
Examples
{% code title="SHA example" %}
SELECT SHA('Spice')
-- dda3f1ef53d1e82a4845ef5b2893b9d9c04bd3b1
{% endcode %}
This function is an alias for SHA1
.