Documentation ¶
Index ¶
- func AesDecrypt(crypted, key []byte) ([]byte, error)
- func AesEncrypt(origData, key []byte) ([]byte, error)
- func FillBizResp(resp interface{}, status *constant.ErrorStatus)
- func GetAesKeyFromString(str string) []byte
- func GetInternalIP() (ip string)
- func GetJsonMap(obj interface{}) map[string]interface{}
- func GetJsonString(obj interface{}) string
- func GetMd5String(b []byte) string
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
func AesEncrypt ¶
func FillBizResp ¶
func FillBizResp(resp interface{}, status *constant.ErrorStatus)
func GetAesKeyFromString ¶
func GetInternalIP ¶
func GetInternalIP() (ip string)
func GetJsonMap ¶
func GetJsonMap(obj interface{}) map[string]interface{}
func GetJsonString ¶
func GetJsonString(obj interface{}) string
func GetMd5String ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.