Skip to content

SM2 / SM4 (Chinese Standards)

SM2 / SM3 / SM4 notes plus SM3 hash.

Runs locallyNo signupMobile readyCopyableFree

🀄SM2 / SM4 (Chinese Standards)

All processing happens locally

What this tool does

SM2 / SM4 (Chinese Standards) is a SM2 / SM4 (Chinese Standards) that computes locally and shows the result instantly., everything runs inside your browser, so neither the key nor the plaintext ever leaves your device.

Copy the result directly. Keys are never persisted anywhere, so save them yourself.

How to use it

  1. Paste or type your content into the input field at the top, or press the sample button to load demo data.
  2. Adjust the options below the input, such as output format, separators, letter case or precision.
  3. Press the main button to run the conversion. Results appear instantly in the output panel without a page reload.
  4. When the result looks right, use the copy button in the corner, or download it as a local file.

Tips and notes

Clean up stray spaces and line breaks before pasting for more accurate results.

FAQ

SM2 uses 256-bit elliptic curves, giving shorter keys and faster signatures at equivalent strength. RSA has a broader ecosystem.
Both are 256-bit hashes with similar design ideas. SM3 is the Chinese commercial cryptography standard and is mandatory in Chinese compliance contexts.
SM3 follows the standard and passes its test vectors. SM2 and SM4 involve key exchange and padding details; use a certified library for production.
Yes. The tool is completely free with no usage limits, and you never need an account or a sign-in.
No. All processing runs locally in your browser, so the input never reaches a server and is never logged or stored.
Yes. The layout is mobile-first, so inputs and buttons stay comfortable on phones and tablets in both orientations.
Yes. A copy button in the output panel puts the result on your clipboard, and you can also download it as a text file.

Related tools

Other categories