Syntax
SM3(str)
Purpose
SM3 is a hash calculation method released by State Cryptography Administration Office of Security Commercial Code Administration (OSCCA). The return value is a 32-bit hexadecimal string.
Examples
obclient> SELECT SM3(1);
+------------------------------------------------------------------+
| sm3(1) |
+------------------------------------------------------------------+
| cbdddb8e8421b23498480570d7d75330538a6882f5dfdc3b64115c647f3328c4 |
+------------------------------------------------------------------+
1 row in set