Documentation ¶
Index ¶
- func CheckPasswordHash(password, hash string) bool
- func Decrypt(value string) (string, error)
- func DecryptBind(data string) string
- func Encrypt(value string) (string, error)
- func EncryptBind(data string) string
- func GenKey() []byte
- func HashPassword(password string) (string, error)
- func SetKey(value []byte)
- type Encryptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptBind ¶
func EncryptBind ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.