Documentation ¶
Index ¶
- func Base64Decode(str string) string
- func Base64Encode(str string) string
- func Decrypt(ciphertext, key []byte) ([]byte, error)
- func EncodeMD5(value string) string
- func EncodeMD5AsEmpty() string
- func EncodeMD5Byte(value string) []byte
- func EncodeMD5Upper(value string) string
- func Encrypt(plaintext, key []byte) ([]byte, error)
- func GetMd5Sign(id, key, sign string, timeStamp int64) string
- func PKCS7Padding(data []byte, blockSize int) []byte
- func PKCS7UnPadding(data []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func GetMd5Sign ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.