Documentation ¶
Index ¶
- func AESDecrypt(src []byte, aesKeyPath string) ([]byte, error)
- func AESEncrypt(src []byte, aesKeyPath string) ([]byte, error)
- func Base64Decode(src string) ([]byte, error)
- func Base64Encode(src []byte) string
- func RSADecrypt(cipherText []byte, privKeyPath string) ([]byte, error)
- func RSAEncrypt(plainText []byte, pubKeyPath string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RSADecrypt ¶
RSADecrypt RSA 解密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.