AnyNPC

SM2 Encryption — Chinese National Standard Asymmetric Encryption

Free SM2 encryption tool for key generation, encryption, decryption, and digital signatures. SM2 is the Chinese national standard for elliptic curve cryptography (GM/T 0003). Supports C1C3C2 and C1C2C3 cipher modes. All operations performed locally in your browser.

Features

  • Generate SM2 key pairs (256-bit elliptic curve)
  • Encrypt data with public key
  • Decrypt ciphertext with private key
  • Sign messages with private key
  • Verify signatures with public key
  • Support C1C3C2 and C1C2C3 cipher modes
  • Compressed public key support (66 chars)
  • SM3 hash integration for signatures
  • Chinese national standard GM/T 0003
  • All operations performed locally in browser

How to Use

  1. 1Key Generation: Click 'Generate Key Pair' to create a new SM2 key pair.
  2. 2Encryption: Enter plaintext and public key, then click 'Encrypt'.
  3. 3Decryption: Enter ciphertext and private key, then click 'Decrypt'.
  4. 4Signing: Enter message and private key, then click 'Sign'.
  5. 5Verification: Enter message, signature, and public key, then click 'Verify'.

Frequently Asked Questions

Related Tools