Documentation ¶
Index ¶
- Variables
- func BcryptHash(password string) string
- func BcryptVerify(password, hash string) bool
- func Compress(data []byte) []byte
- func Decompress(data []byte) ([]byte, error)
- func Decrypt(key string, token string) string
- func Encrypt(key string, token string) string
- func Random(len int) string
- func SaveToken(t string, token string)
- func Token(t string) string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.