SM2 Encrypt / Decrypt

SM2 Encrypt / Decrypt. Local browser processing.

Convert in your browser · No sign-up

Public/private keys are hexadecimal. Choose the matching C1C3C2 or C1C2C3 order. Ciphertext omits the initial 04 point marker.

C1C3C2 / C1C2C3; C1: 128 hex digits, no 04 prefix

How to use

  1. Enter your data and parameters, or load the example.
  2. Choose the operation and confirm the input format.
  3. Run the tool, then copy or download the result.

Example

UTF-8 ⇄ SM2 hex ciphertext

Details and limitations

Everything runs in your browser; text, files and keys are not uploaded.

Input is limited to 100,000 characters per field. Cancel stops the worker and discards the pending result.

Demo keys and passwords are public examples. Generate your own key before using real data.

FAQ

Are my keys or files uploaded?

No. Calculation happens locally in a Web Worker. Clearing or leaving the page discards its working state.

Format references

Tool page updated: