Documentation
¶
Overview ¶
加密工具类,用了3des和base64
Index ¶
- func AesBase64Decrypt(origData string, key []byte) string
- func AesBase64Encrypt(origData string, key []byte) string
- func AesDecrypt(decodeStr string, key []byte) ([]byte, error)
- func AesEncrypt(encodeStr string, key []byte) (string, error)
- func DesBase64Decrypt(crypted []byte) []byte
- func DesBase64Encrypt(origData []byte) []byte
- func GoDownload(strs []string)
- func Grep(url, rule string) (strs [][]string)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func SpyContent()
- func TripleDesDecrypt(crypted, key []byte) ([]byte, error)
- func TripleDesEncrypt(origData, key []byte) ([]byte, error)
- func ZeroPadding(ciphertext []byte, blockSize int) []byte
- func ZeroUnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesBase64Decrypt ¶
func AesBase64Encrypt ¶
func DesBase64Decrypt ¶
func GoDownload ¶
func GoDownload(strs []string)
func PKCS5Padding ¶
func PKCS5UnPadding ¶
func SpyContent ¶
func SpyContent()
func ZeroPadding ¶
func ZeroUnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.