Documentation ¶
Index ¶
- func EApiDecrypt(ciphertext, encode string) ([]byte, error)
- func EApiEncrypt(url string, object interface{}) (map[string]string, error)
- func LinuxApiDecrypt(cipherText string) ([]byte, error)
- func LinuxApiEncrypt(object interface{}) (map[string]string, error)
- func WeApiDecrypt(params, encSecKey string) (map[string]string, error)
- func WeApiEncrypt(object interface{}) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EApiDecrypt ¶
EApiDecrypt 解密,当解析请求参数时encode使用hex,当解析请求响应参数时则为空相当于二进制
func EApiEncrypt ¶
EApiEncrypt 加密 通常在MAC、windows、android、ios中使用
func LinuxApiEncrypt ¶
LinuxApiEncrypt 加密
func WeApiDecrypt ¶
WeApiDecrypt 解密 TODO: 由于拿不到私钥则不能解密
func WeApiEncrypt ¶
WeApiEncrypt 加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.