SM2 Tools
Keys, messages, and results stay in this browser. No uploads, URL parameters, logs, or automatic storage. This developer testing tool is not a certified cryptographic product or production key management system.
How to use
Generate a key pair, enter a message, and encrypt. Use the result button to prepare decryption with the matching format and encodings. For signatures, select Sign, run, then use the result button to prepare verification of the same message and User ID.
Only the recommended SM2 curve (sm2p256v1) is supported. Private keys are raw Hex scalars, not passwords or PEM/PKCS#8 files. Public keys must include 04 (uncompressed) or 02/03 (compressed). Maximum message: 64 KiB; User ID: 8191 UTF-8 bytes. Encryption requires a nonempty message. No file processing or key import/export containers.