SM3 Hash Calculator for Text & Files

Calculate a 256-bit SM3 digest in Hex.



How to use

For the UTF-8 text abc, the Hex digest is 66c7f0f462eeedd9d1f2d46bdc10e4e24167c4875cf2f7a2297da02b8f4ba8e0.

FAQ

Where does the SM3 calculation run?

The browser calculates the SM3 digest from the bytes you supply. Selecting a local file reads its bytes for hashing without uploading it.

What is supported?

Enter UTF-8, Hex or Base64, or select a file up to 8 MiB. SM3 always returns 32 bytes.

Other Languages

SM3 Hash Calculator for Text & Files — Base64.sh

SM3 Hash Calculator for Text & Files

Calculate a 256-bit SM3 digest in Hex.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Check the published abc digest and independently compare Chinese input with Node SM3.
Comparison reference
Node.js 24.22.1 crypto (OpenSSL 3.5.9) SM3 and the fixed abc vector 66c7f0f4…8f4ba8e0.
Verification scope
Covers the abc vector and a UTF-8 Chinese input.
Test source and cases (select a file to read it)

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.