SM2 / SM3 / SM4

Chinese national crypto: SM4 encrypt, SM3 hash, SM2 keys & signatures.

All processing on this page runs locally in your browser unless noted otherwise.

How to use

  1. Load sample SM4 key/IV and plaintext.
  2. Switch tabs for SM3 hash or SM2 keys/signatures.

Sample

Hello SM — local demo only.

FAQ

Is the SM library loaded immediately?

No. sm-crypto is dynamically imported when you use this page’s actions.

Related tools