SHA
descriptionβ
Use SHA1 to digest the message.
Syntaxβ
{ SHA | SHA1 }(str)
exampleβ
select sha("123");
+------------------------------------------+
| sha1('123') |
+------------------------------------------+
| 40bd001563085fc35165329ea1ff5c5ecbdbbeef |
+------------------------------------------+