SM3, also known as ShangMi 3, is a cryptographic hash algorithm standardized by the State Cryptography Administration (SCA) of China. SM3 is a part of the "Chinese Commercial Cryptography Standard" (GM/T) and is widely used in China for various security applications. It was officially published in 2010 as a national standard for cryptographic hashing.
The design of SM3 is based on the Merkle–Damgård construction with a compression function that incorporates bitwise Boolean operations and modular addition. The algorithm has undergone rigorous analysis and is considered to offer strong security properties, providing resistance against collision, pre-image, and second pre-image attacks. Its usage outside China is limited, as international cryptographic standards such as SHA-2 and SHA-3 are more widely recognized and adopted globally.
Details about the specification can be found in IETF draft available at https://datatracker.ietf.org/doc/draft-sca-cfrg-sm3/.
This online tool allows you to use the SM3 (ShangMi 3) Hash.