Categories: Cryptography
SHA, SHA1
Computes the SHA-1 hash value of a string.
Syntax
SHA(expression varchar) → varchar
- expression: The string to hash.
Examples
SHA exampleSELECT SHA('Dremio')
-- dda3f1ef53d1e82a4845ef5b2893b9d9c04bd3b1
SHA1(expression varchar) → varchar
- expression: The string to hash.
Examples
SHA1 exampleSELECT SHA1('Dremio')
-- dda3f1ef53d1e82a4845ef5b2893b9d9c04bd3b1