Imports github.com/go-base-lib/goextension github.com/tjfoc/gmsm/sm2 github.com/tjfoc/gmsm/sm4 github.com/tjfoc/gmsm/x509 Standard library imports bytes crypto/aes crypto/cipher crypto/rand crypto/rsa crypto/x509 encoding/base64 encoding/pem errors fmt hash io math/rand os time