SM2 Encrypt/Decrypt

Encrypt and decrypt using SM2 — Chinese national standard for elliptic curve public-key cryptography

How to Use SM2 Encrypt/Decrypt

  1. Click Generate Key Pair to create an SM2 public/private key pair, or paste your own keys in hexadecimal format
  2. For encryption: enter plaintext and the recipient's public key. For decryption: paste ciphertext and the corresponding private key
  3. Choose the output format (Hex or Base64), click the action button, and copy the result

Enable JavaScript to use these tools.