JsonMind
Sign in

SM4 Encrypt / Decrypt

Security & Authentication

Encrypt and decrypt text with SM4 using ECB or CBC mode.

SM4 Crypto

National cryptography tools for compatibility and migration checks.

Use cases

When to use SM4 Encrypt / Decrypt

Encrypt and decrypt text with SM4 using ECB or CBC mode.

1Prepare sm4 encrypt / decrypt output for an API or documentation workflow
2Check a sample before applying it to production
3Use a reproducible result while debugging with a teammate
4Reproduce signature flows used by webhooks, API gateways, and third-party services
5Compare JWT claims, digest algorithms, and secret encoding across systems
6Prepare redacted but reproducible token examples for security review
7Verify Bcrypt, Scrypt, SCRAM, and database password hashes
8Inspect X.509 validity, issuer, algorithms, and fingerprints
9Debug AES-GCM, RSA-OAEP, RSA-PSS, and PKCS#1 signature flows

Guidance

Get reliable results

  1. 1Use representative but non-sensitive test data
  2. 2Review the generated result against the target platform
  3. 3Keep a copy of the source before replacing production data
Platform-specific rules and production policies still require review.