SM4 National Standard Block Cipher Tool

Encrypt and decrypt data using the Chinese National Standard SM4 128-bit block cipher (GB/T 32907-2016) with CBC and ECB mode configurations.

How to Use SM4 National Standard Block Cipher Tool

  1. Input 128-bit Data Block: Enter plaintext or ciphertext blocks.
  2. Provide 128-bit Key & Mode: Input a 16-byte key and choose ECB or CBC mode.
  3. Execute 32 Unbalanced Feistel Rounds: View block encryption conforming to Chinese National Standard GB/T 32907-2016.

Frequently Asked Questions

What is the SM4 block cipher?

SM4 is the Chinese National Standard 128-bit block cipher used for wireless LAN (WAPI) and authorized commercial cryptographic applications in China.