//
pkg.gl
Category
github.com/SivanYYY/my-tools
crypto
package
0.1.2
Repository:
https://github.com/sivanyyy/my-tools.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
0
Files
80 SLOC
#
Functions
DecryptRSA
DecryptRSA RSA解密 cipherText 需要解密的byte数据 privatePem 私钥文件路径.
EncryptRSA
EncryptRSA RSA加密 plainText 要加密的数据 publicPem 公钥匙文件.
GenerateRSAKey
GenerateRSAKey 初始化RSA公私钥.
Md5
Md5 md5加密 use16=true 返回16位md5值.
Md5Sum
Md5Sum 校验文件md5sum.