SHA
SHAβ
descriptionβ
Use SHA1 to digest the message.
Syntaxβ
SHA(str)
or SHA1(str)
Argumentsβ
str
: content to be encrypted
exampleβ
mysql> select sha("123");
+------------------------------------------+
| sha1('123') |
+------------------------------------------+
| 40bd001563085fc35165329ea1ff5c5ecbdbbeef |
+------------------------------------------+
1 row in set (0.13 sec)
keywordsβ
SHA,SHA1