SM2 Encryption/Decryption Tool
SM2 asymmetric encryption algorithm.
Encrypt
Decrypt
Sign
Verify
C1C3C2 (Standard)
C1C2C3 (Old Standard)
DER (ASN.1)
R|S (Concatenated)
Private Key:
Hex
Base64
Public Key:
Hex
Base64
Input
UTF-8
Hex
Base64
Result
Hex
Base64

What is SM2?

SM2 is a Chinese national standard for asymmetric cryptography based on ECC. It offers higher security and better efficiency than RSA.

🎯

Why SM2?

  • High Security
  • Short Keys
  • Fast Computing
  • Native Support
📋

Capabilities

  • Encrypt / Decrypt
  • Sign / Verify
  • Key Exchange
  • Custom Sorting
🚀

Use Cases

  • Secure Payment
  • E-government
  • Authentication
  • IoT Security
💎

Technical Info

  • ECC Algorithm
  • 256-bit Key
  • C1C2C3/C1C3C2
  • Quantum Resistant

🚀 Guide

  • Select Mode: Choose from Encrypt, Decrypt, Sign, or Verify.
  • Setup Keys: Enter hex keys or click 'Generate' for a new pair.
  • Process: Input your data and click 'Run' to see the result.

💡 FAQ

SM2 vs RSA?
256-bit SM2 is as secure as 3072-bit RSA but faster and more compact.
C1C2C3 vs C1C3C2?
These are data sorting modes. C1C3C2 is the modern standard.