this library support chinese guomi standard
features:
- sm2 sign/varify, support double curve: 1) official's example curve 2) chinese official doc recommand curve
- sm3 hash algorithm
- sm4 symmetrical encryption(TODO)
- sm2 asn.1 certificate conversion
- validate sm2 private key generation
这是一个国密加密算法支持库, 用go实现。
特性:
- sm2 签名/验签 支持两种曲线: 1)官方样例曲线 2)国标推荐曲线
- sm3 hash算法
- sm4 对称加密算法(TODO)
- sm2 asn.1 格式证书转换
- sm2 私钥自动生成
online guomi validate site:
在线国密算法验证网站: