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,当解析请求响应参数时则为空相当于二进制 - params
func EApiEncrypt ¶
EApiEncrypt 加密 目前所知在PC中有使用,MAC中。windows未知 - params
func LinuxApiEncrypt ¶
LinuxApiEncrypt 加密 - eparams
func WeApiDecrypt ¶
WeApiDecrypt 解密 TODO: 由于拿不到私钥则不能解密
func WeApiEncrypt ¶
WeApiEncrypt 加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.