Documentation ¶
Index ¶
- func AESDecrypt(cipherBytes, key, iv []byte) ([]byte, error)
- func CheckPasswordHash(password, hash string) bool
- func DecodeWeAppUserInfo(encryptedData string, sessionKey string, iv string) (string, error)
- func HashPassword(password string) (string, error)
- func PKCS7UnPadding(dst []byte, blockSize int) []byte
- func SetStructByJSON(obj interface{}, mapData map[string]interface{}) error
- func StrToIntMonth(month string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeWeAppUserInfo ¶
DecodeWeAppUserInfo 解密微信小程序用户信息
func PKCS7UnPadding ¶
PKCS7UnPadding pkcs7填充方式
func SetStructByJSON ¶
SetStructByJSON 由json对象生成 struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.