Documentation ¶
Index ¶
- func AesEncrypt(data, key []byte) []byte
- func Debug(req *http.Request) *http.Response
- func DebugResp(resp *http.Response)
- func DecryptAES(key []byte, ct string) string
- func EncodeParam(v url.Values) string
- func FindCookie(cookies []*http.Cookie, name string) *http.Cookie
- func FindCookieValue(cookies []*http.Cookie, name string) string
- func GetReq(u string, params url.Values) (*http.Request, error)
- func Key(key string) []byte
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func Random(v string) string
- func RsaEncrypt(key []byte, data []byte) ([]byte, error)
- func Sha1(v, l string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesEncrypt ¶
func DecryptAES ¶ added in v0.6.0
func EncodeParam ¶
func FindCookie ¶
Find special name cookie
func FindCookieValue ¶ added in v0.5.1
func PKCS7Padding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.