Mysql SHA
From w3cyberlearnings
Contents |
MySQL SHA Function
This function is a synonym of SHA1() function.
Syntax SHA
- str: string
SHA(str);
Example 1
mysql> SELECT SHA('good'),SHA1('good'); +------------------------------------------+------------------------------------------+ | SHA('good') | SHA1('good') | +------------------------------------------+------------------------------------------+ | fc19318dd13128ce14344d066510a982269c241b | fc19318dd13128ce14344d066510a982269c241b | +------------------------------------------+------------------------------------------+ 1 row in set (0.00 sec)