SM4 Encrypt/Decrypt
Encrypt and decrypt data using SM4 — Chinese national standard block cipher (GB/T 32907)
How to Use SM4 Encrypt/Decrypt
- Enter or generate a 128-bit key (16 bytes) in hexadecimal format
- Select the encryption mode — ECB (simpler, less secure) or CBC (recommended, requires IV). For CBC mode, enter or generate a 128-bit IV (16 bytes)
- Choose Encrypt or Decrypt, enter your data, select the output format, and click the action button
Enable JavaScript to use these tools.