|
digestpp 1.0
C++11 header-only message digest library
|
SM3 Algorithm More...
Typedefs | |
| typedef hasher< detail::sm3_provider > | digestpp::sm3 |
| SM3 hash function. | |
SM3 Algorithm
| typedef hasher<detail::sm3_provider> digestpp::sm3 |
SM3 hash function.
Chinese national standard hash function (GB/T 32905-2016). Designed by Xiaoyun Wang, Hongbo Yu, and Yiqun Lisa Yin.
SM3 is part of the Chinese ShangMi (Commercial Cryptography) suite of cryptographic algorithms. It is mandatory for use in Chinese government and commercial applications.
The algorithm is similar in structure to SHA-256, using a Merkle-Damgård construction with 32-bit operations, but with different constants, rotation amounts, and message schedule.
Chinese national standard (GB/T 32905-2016). Also standardized as ISO/IEC 10118-3:2018