Versions in this module Expand all Collapse all v0 v0.0.1 Jun 9, 2021 Changes in this version + const ApplicationJson + const SuccessStatusCode + func AesCbcPKCS5PaddingDecrypt(src, key, iv string) (string, error) + func AesCbcPKCS5PaddingEncrypt(src, key, iv string) (string, error) + func AesEcbPKCS5PaddingDecrypt(src, key string) (string, error) + func AesEcbPKCS5PaddingEncrypt(src, key string) (string, error) + func Md5Sum(src string) string + func NewECBDecrypter(b cipher.Block) cipher.BlockMode + func NewECBEncrypter(b cipher.Block) cipher.BlockMode + func PKCS5Padding(ciphertext []byte, blockSize int) []byte + func PKCS5UnPadding(origData []byte) []byte + func PostHttpsJsonDirectRequest(url string, body []byte) ([]byte, error) + func PostHttpsJsonRequest(url string, params map[string]interface{}) (map[string]interface{}, error) + func Sha1Sum(src string) string + func Sha256Sum(src string) string + func ToJson(v interface{}) string