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
- kytea
Toolkit for analyzing text, especially Japanese and Chinese - openssl@4
Cryptography and SSL/TLS Toolkit - openssl@3.6
Cryptography and SSL/TLS Toolkit - openssl@3
Cryptography and SSL/TLS Toolkit security tls ssl cryptography post-quantum cybersecurity pqc openssl cryptograpy - libressl
Version of the SSL/TLS protocol forked from OpenSSL - botan
Cryptographic algorithms and formats library in C++ - qca
Qt Cryptographic Architecture (QCA) - libgcrypt
Cryptographic library based on the code from GnuPG
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents