Versions in this module Expand all Collapse all v0 v0.0.2 Sep 9, 2020 Changes in this version + func AESDecrypt(decodeStr string, key string) (string, error) + func AESEncrypt(plainText string, key string) string + func Decrypt(data []byte, key []byte) []byte + func Encrypt(data []byte, key []byte) []byte + func FileExist(file string) error + func GetUUID() (string, error) + func HttpGet(url string) (ret string, err error) + func HttpPost(url string, param req.Param) (ret string, err error) + func IntDateTime(val int64) (ret string) + func IntDateTimeFormat(val int64, format string) (ret string) + func MD5(str string) string + func PKCS5Padding(cipherText []byte, blockSize int, after int) []byte + func PKCS5UnPadding(origData []byte) []byte + func TimeFormat(t time.Time, format string) string + type XXTea struct + Key string + func NewXXTea(key string) *XXTea + func (m *XXTea) DecryptString(str string) (string, error) + func (m *XXTea) EncryptString(str string) string