package
0.2.2
Repository: https://github.com/general252/gout.git
Documentation: pkg.go.dev

# Functions

AESDecrypt 解密.
AESDecryptV2 解码.
AESEncrypt 加密.
AESEncryptV2 加密.
No description provided by the author
No description provided by the author
Cert2Pem cert格式转pem格式(公钥) pemType: "RSA Public Key"/"ECC Public Key".
CertCheckSignature 判断 childCert是parentCert颁发.
EccGenerateKey 生成ECC私钥和公钥.
EccSign 签名.
EccVerifySign 验证签名.
GenerateCert 创建Cert(issuerCert: 颁发者cert, issuerKey: 颁发者秘钥).
No description provided by the author
No description provided by the author
No description provided by the author
IsInvalidBase64 检查数据是无效的base64数据 true: data不是base64数据 false: data符合base64(注意: 不一定是base64数据, 也可能是hex数据).
No description provided by the author
No description provided by the author
No description provided by the author
RSADecrypt RSA解密 cipherText 需要解密的byte数据 pemPriKey pem格式私钥.
RSAEncrypt RSA加密 plainText 要加密的数据 pemPubKey pem格式公钥 一个分组的大小 key size - 42.
RSAGenerateKey 生成RSA私钥和公钥.
RSASign 签名.
RSAValidatePemPrivateKey 检查pem格式私钥.
RSAValidatePemPublicKey 检查pem格式公钥.
RSAVerifySign 验证签名.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author