xrsa

package
v1.0.4-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RsaDecryptData

func RsaDecryptData(cipherData string, privateKeyFilePath string) (originData string, err error)

RSA解密数据 cipherData:加密字符串 privateKeyFilePath:私钥证书文件路径

func RsaEncryptData

func RsaEncryptData(originData string, publicKeyFilePath string) (cipherData string, err error)

RSA加密数据 originData:原始字符串 publicKeyFilePath:公钥证书文件路径

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL