Documentation ¶
Index ¶
- func CBCDecrypt(encrypt, key []byte) ([]byte, error)
- func CBCDecryptString(encryptBase64Str string, key []byte) ([]byte, error)
- func CBCEncrypt(origData, key []byte) ([]byte, error)
- func CBCEncryptToBase64String(origData, key []byte) (string, error)
- func TripleDecrypt(encrypt, key []byte) ([]byte, error)
- func TripleDecryptString(encryptBase64Str string, key []byte) ([]byte, error)
- func TripleEncrypt(origData, key []byte) ([]byte, error)
- func TripleEncryptToBase64String(origData, key []byte) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CBCDecryptString ¶
CBCDecryptString DES解密
func CBCEncryptToBase64String ¶
CBCEncryptToBase64String DES对称加密CBC模式加密返回base64编码
func TripleDecrypt ¶
func TripleDecryptString ¶
func TripleEncrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.