package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Aug 20, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GenerateRSAKey(bits int)
GenerateRSAKey 生成RSA私钥和公钥,保存到文件中
bits 证书大小
RSADecrypt 解密
cipherText 需要解密的byte数据
path 私钥文件路径
RSAEncrypt 加密
plainText 加密内容
path 公钥文件地址
Source Files
¶
Click to show internal directories.
Click to hide internal directories.