Documentation ¶
Index ¶
- func Base64Decode(src []byte) ([]byte, error)
- func Base64Encode(src []byte) []byte
- func Md5Encrypt(data string) string
- func ReadKeyFromFile(filePath string) (string, error)
- func RsaDecrypt(ciphertext []byte, privateKey string) ([]byte, error)
- func RsaEncrypt(origData []byte, publicKey string) ([]byte, error)
- func Sha256Encrypt(data string, salt string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func Md5Encrypt ¶
func ReadKeyFromFile ¶
func Sha256Encrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.