Documentation ¶
Index ¶
- func AESDecryptCBC(key, iv, encrypted []byte) (origData []byte, err error)
- func AESEncryptCBC(key, iv []byte, origData []byte) (encrypted []byte, err error)
- func HmacSha1ToBase64(rawStr, key string) string
- func HmacSha1ToHex(rawStr, key string) string
- func HmacSha256ToBase64(rawStr, key string) string
- func HmacSha256ToHex(rawStr, key string) string
- func Md5String(s string, multi ...string) string
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PasswordSlatMD5(password, slat string) string
- func UnPadding(origData []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESDecryptCBC ¶
func AESEncryptCBC ¶
func HmacSha256ToBase64 ¶
HmacSha256ToBase64 HMAC-SHA256
func PKCS7Padding ¶
func PasswordSlatMD5 ¶
PasswordSlatMD5 md5(password+slat)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.