Documentation ¶
Index ¶
- func Decrypt(data []byte, key []byte, iv []byte) ([]byte, error)
- func DecryptFromBase64(base64Str string, key []byte, iv []byte) ([]byte, error)
- func DecryptFromHex(hexStr string, key []byte, iv []byte) ([]byte, error)
- func Encrypt(data []byte, key []byte, iv []byte) ([]byte, error)
- func EncryptToBase64(data []byte, key []byte, iv []byte) (string, error)
- func EncryptToHex(data []byte, key []byte, iv []byte) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptFromBase64 ¶
func EncryptToBase64 ¶
EncryptToBase64 PS: 标准的base64.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.