Documentation ¶
Index ¶
- func DesCbcDecrypt(cipherText, secretKey, ivDes []byte) ([]byte, error)
- func DesCbcDecryptByBase64(cipherTextBase64 string, secretKey, ivAes []byte) (plainText []byte, err error)
- func DesCbcDecryptByHex(cipherTextHex string, secretKey, ivAes []byte) (plainText []byte, err error)
- func DesCbcEncrypt(plainText, secretKey, ivDes []byte) ([]byte, error)
- func DesCbcEncryptBase64(plainText, secretKey, ivAes []byte) (cipherTextBase64 string, err error)
- func DesCbcEncryptHex(plainText, secretKey, ivAes []byte) (cipherTextHex string, err error)
- func TripleDesDecrypt(cipherText, secretKey, ivDes []byte) (plainText []byte, err error)
- func TripleDesDecryptByBase64(cipherTextBase64 string, secretKey, ivAes []byte) (plainText []byte, err error)
- func TripleDesDecryptByHex(cipherTextHex string, secretKey, ivAes []byte) (plainText []byte, err error)
- func TripleDesEncrypt(plainText, secretKey, ivDes []byte) ([]byte, error)
- func TripleDesEncryptBase64(plainText, secretKey, ivAes []byte) (cipherTextBase64 string, err error)
- func TripleDesEncryptHex(plainText, secretKey, ivAes []byte) (cipherTextHex string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DesCbcDecrypt ¶
func DesCbcDecryptByBase64 ¶
func DesCbcDecryptByHex ¶
func DesCbcEncrypt ¶
func DesCbcEncryptBase64 ¶
func DesCbcEncryptHex ¶
func TripleDesDecrypt ¶
func TripleDesDecryptByHex ¶
func TripleDesEncrypt ¶
func TripleDesEncryptBase64 ¶
func TripleDesEncryptHex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.