package
4.2.4
Repository: https://github.com/admpub/nging.git
Documentation: pkg.go.dev

# Functions

DefaultKey 默认私钥.
DefaultPublicKeyBytes 默认公钥.
DefaultPublicKeyHex 默认公钥hex字符串.
DefaultSM2DecryptHex 默认密钥解密hex字符串.
HexEncodeToString hex编码为字符串.
No description provided by the author
No description provided by the author
PEMtoPrivateKey PEM文件内容转私钥.
PEMtoPublicKey PEM文件内容转公钥.
PrivateKeyToPEM 私钥转PEM文件内容.
PublicKeyToBytes marshals a public key to the bytes.
PublicKeyToHexString 公钥转hex字符串.
PublicKeyToPEM 公钥转PEM文件内容.
ReadKey 读取私钥公钥.
RSADecrypt 私钥解密.
RSAKey 默认私钥.
No description provided by the author
No description provided by the author
RSAEncrypt 私钥加密.
RSAPublicKeyToBytes marshals a public key to the bytes.
No description provided by the author
RSASignMd5 使用RSAWithMD5算法签名.
RSASignSha1 使用RSAWithSHA1算法签名.
RSASignSha256 使用RSAWithSHA256算法签名.
SaveKey 保存私钥公钥.
SM2Decrypt 解密.
SM2DecryptHex 解密.
SM2Encrypt 加密.
SM2GenKey 生成私钥和公钥.
No description provided by the author
SM2VerifySign 验签.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author