SM3
Declaration
SM3(str)
Description
SM3 is a hash value calculation method released by the Chinese National Cryptography Administration. The returned value is a string composed of 32 hexadecimal digits.
Example
SELECT SM3(1);
+------------------------------------------------------------------+
| sm3(1) |
+------------------------------------------------------------------+
| cbdddb8e8421b23498480570d7d75330538a6882f5dfdc3b64115c647f3328c4 |
+------------------------------------------------------------------+
1 row in set (0.001 sec)