Getting started
User guides
Administration guides
Reference guides
Resources
Updated Aug 04, 2022
Send us feedback
sha1
Returns a sha1 hash value as a hex string of expr.
expr
sha1(expr)
expr: A BINARY or STRING expression.
A STRING.
This function is a synonym for sha function.
> SELECT sha1('Spark'); 85f5955f4b27a9a4c2aab6ffe5d7189fc298b92c
sha function
sha2 function
crc32 function
md5 function
hash function