AptLynx

Command-line tool

gmssl

brew/gmssl

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Toolkit for Chinese national cryptographic standards

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install gmssl

Linux

brew install gmssl

Generate an SM3 hash for a file

gmssl sm3 path/to/file

Encrypt a file using the SM4 cipher

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

Decrypt a file using the SM4 cipher

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

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents