GB/T 32905-2016 · Chinese national standard · 256-bit
SM3 is the Chinese national cryptographic hash standard (GB/T 32905-2016), published by the Chinese State Cryptography Administration. 256-bit output, used in Chinese cryptographic protocols including SM2 digital signatures and TLS 1.3 with GM ciphersuites.
gmssl (C library), gmssl-pyx (Python), or sm-crypto (npm) for JavaScript SM3.About SM3 panel — it lists the core specs: 256-bit digest, 512-bit block size, 64 rounds, and Merkle-Damgård construction.GB/T 32905-2016 (China) and ISO/IEC 10118-3:2018 — to confirm what your target environment requires.gmssl (C), gmssl-pyx (Python), or sm-crypto (npm) — to compute hashes in your own code.A 256-bit digest means 32 bytes, rendered as 64 hex characters. Confirm the size before you integrate or compare test vectors.
The Web Crypto API doesn't implement SM3, so the page points to gmssl, gmssl-pyx, and sm-crypto for real hashing.
SM3 is the national standard (GB/T 32905-2016) and is required in SM2 signatures, GM TLS ciphersuites, and TCM — essential for China-market products.
Structurally similar to SHA-256 but with different constants and a 132-word message expansion; distinct from GOST Streebog (R 34.11-94), another 256-bit national hash.
Standard numbers, block/round counts, and the construction are all in one place — handy for design docs and security reviews.
Knowing the block size and construction helps you verify third-party SM3 implementations against known test vectors.
SM3 is the Chinese national cryptographic hash standard, defined in GB/T 32905-2016 and published by the State Cryptography Administration. It produces a 256-bit (32-byte) digest.
Both use a Merkle-Damgård construction over 512-bit blocks, but SM3 uses different constants and a larger 132-word message expansion (SHA-256 uses 64). They are not interchangeable.
256 bits — 32 bytes, conventionally written as 64 hex characters.
Not through the Web Crypto API, which doesn't include SM3. Use a library such as gmssl (C), gmssl-pyx (Python), or sm-crypto (npm).
No. Streebog (GOST R 34.11-94) is a Russian national standard that also produces a 256-bit digest, but it's a different algorithm.
In SM2 digital signatures, TLS 1.3 with GM cipher suites, and China's Trusted Cryptography Module (TCM), among other Chinese cryptographic protocols.
No. This is a static reference page — it only renders text and sends nothing to any server. Actual hashing happens in your own code via a library.