SM4 cryptography
SM4 cryptography: process standard inputs with validation using self-contained pure logic, suitable for local checks and test vectors.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
Pure local computation; no data is uploaded.
Enter input to see the result
Output length: 0 · Input bytes: 0
What this tool does
- Check standard test vectors and API output.
- Inspect sensitive values locally without uploading them.
- Debug encoding, checksums, or authentication parameters.
Example
Input
demo
Output
unsupported-algorithm / Algorithm not implemented locally
The result is computed locally with self-contained logic and does not depend on browser or Node crypto.
Frequently asked questions
Is input uploaded?
No. The algorithm runs locally in a self-contained pure function.
How should I verify a result?
Use a published standard test vector and check the input encoding and output radix.
Why is empty input rejected?
Cryptographic tools need an explicit message boundary; empty text usually means no value was entered.
Keywords:国密SM4加密解密SM4 cryptographycryptographystandard vectorlocalhash