国密sm2 golang使用 2022年3月28日 | 实用工具 golang package main import ( "bytes" "crypto/rand" "encoding/base64" "encoding/hex" "fmt" "github.com/tjfoc/gmsm/x509" ) func main() { //公钥 var sm2PublicKey…… 阅读全文