add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

36
pages.zh/common/gmssl.md Normal file
View File

@@ -0,0 +1,36 @@
# gmssl
> GmSSL是一个加密工具包支持SM1、SM2、SM3、SM4、SM9和ZUC/ZUC256。
> 更多信息:<http://gmssl.org/english.html>。
- 为文件生成SM3哈希
`gmssl sm3 {{path/to/file}}`
- 使用SM4密码加密文件
`gmssl sms4 -e -in {{path/to/file}} -out {{path/to/file.sms4}}`
- 使用SM4密码解密文件
`gmssl sms4 -d -in {{path/to/file.sms4}}`
- 生成SM2私钥
`gmssl sm2 -genkey -out {{path/to/file.pem}}`
- 从现有私钥生成SM2公钥
`gmssl sm2 -pubout -in {{path/to/file.pem}} -out {{path/to/file.pem.pub}}`
- 使用ZUC密码加密文件
`gmssl zuc -e -in {{path/to/file}} -out {{path/to/file.zuc}}`
- 使用ZUC密码解密文件
`gmssl zuc -d -in {{path/to/file.zuc}}`
- 显示版本:
`gmssl version`