Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 403 Bytes

File metadata and controls

20 lines (14 loc) · 403 Bytes
description
Computes the SHA-1 hash value of a string.

SHA1

Syntax

SHA1(expr varchar) → varchar

  • expression: The string to hash.

Examples

{% code title="SHA1 example" %}

SELECT SHA1('Spice')
-- dda3f1ef53d1e82a4845ef5b2893b9d9c04bd3b1

{% endcode %}