GmSSL is a crypto toolkit supporting SM1, SM2, SM3, SM4, SM9, and ZUC/ZUC256. More information: http://gmssl.org/english.html.
gmssl sm3 path/to/file
gmssl sms4 -e -in path/to/file -out path/to/file.sms4
gmssl sms4 -d -in path/to/file.sms4
gmssl sm2 -genkey -out path/to/file.pem
gmssl sm2 -pubout -in path/to/file.pem -out path/to/file.pem.pub
gmssl zuc -e -in path/to/file -out path/to/file.zuc
gmssl zuc -d -in path/to/file.zuc
gmssl version