CmdID

CmdID / Commands

gmssl

Crypto toolkit supporting SM1, SM2, SM3, SM4, SM9, and ZUC/ZUC256. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Generate an SM3 hash for a file

gmssl sm3 path/to/fileIdentify

Encrypt a file using the SM4 cipher

gmssl sms4 -e -in path/to/file -out path/to/file.sms4Identify

Decrypt a file using the SM4 cipher

gmssl sms4 -d -in path/to/file.sms4Identify

Generate an SM2 private key

gmssl sm2 -genkey -out path/to/file.pemIdentify

Generate an SM2 public key from an existing private key

gmssl sm2 -pubout -in path/to/file.pem -out path/to/file.pem.pubIdentify

Encrypt a file using the ZUC cipher

gmssl zuc -e -in path/to/file -out path/to/file.zucIdentify

Decrypt a file using the ZUC cipher

gmssl zuc -d -in path/to/file.zucIdentify

Display version

gmssl versionIdentify