ShangMi 3 (SM3) is a cryptographic hash function, standardised for use in commercial cryptography in China. It was published by the State Cryptography Administration () on 2010-12-17 as "GM/T 0004-2012: SM3 cryptographic hash algorithm".
SM3 is used for implementing digital signatures, message authentication codes, and pseudorandom number generators. The algorithm is public and is considered similar to SHA-256 in security and efficiency. SM3 can be used with Transport Layer Security although it is not enabled by default.
Shen Y Z, Bai D X, Yu H B. Improved cryptanalysis of step-reduced SM3. Sci China Inf Sci, 2018, 61(3): 038105, doi: 10.1007/s11432-017-9119-6
Christophe Clavier and Leo Reynaud and Antoine Wurcker. Yet Another Side Channel Cryptanalysis on SM3 Hash Algorithm (2019). https://eprint.iacr.org/2019/346.
SM3 is defined in each of: