Documentation ¶
Index ¶
- func Base64Decode(raw []byte) []byte
- func Base64DecodeStr(bs64str string) string
- func Base64Encode(raw []byte) []byte
- func Base64EncodeStr(raw string) string
- func DecryptAES(src []byte, key []byte) ([]byte, error)
- func EncryptAES(src []byte, key []byte) ([]byte, error)
- func RsaDecrypt(privateKey, ciphertext []byte) ([]byte, error)
- func RsaEncrypt(publicKey, origData []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.