Naar de inhoud

SM4 Encrypt / Decrypt

SM4 Encrypt / Decrypt. Local browser processing.

In je browser · Geen registratie

Enter a raw hexadecimal key. A blank IV generates a fresh one in a JSON envelope; use the same mode to decrypt.

key: 16 bytes / CBC IV: 16 bytes / PKCS#7

Hoe werkt het

  1. Enter your data and parameters, or load the example.
  2. Choose the operation and confirm the input format.
  3. Run the tool, then copy or download the result.

Voorbeeld

UTF-8 ⇄ Base64; { algorithm, mode, iv, ciphertext }

Details en beperkingen

Everything runs in your browser; text, files and keys are not uploaded.

Input is limited to 100,000 characters per field. Cancel stops the worker and discards the pending result.

Demo keys and passwords are public examples. Generate your own key before using real data.

CBC, ECB and stream ciphers do not authenticate data. A readable decryption does not prove integrity. AES-GCM verifies its tag; never reuse an IV with the same key.

FAQ

Are my keys or files uploaded?

No. Calculation happens locally in a Web Worker. Clearing or leaving the page discards its working state.

Referenties

Pagina bijgewerkt: