Documentation
¶
Index ¶
- func ComparePasswords(hashedPwd string, plainPwd []byte) (bool, error)
- func Decrypt(encryptedString string, keyString string) (decryptedString string)
- func Encrypt(stringToEncrypt string, keyString string) (encryptedString string)
- func HashAndSalt(pwd []byte) (string, error)
- func RandomString(leng int64) string
- func Srand(size int) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePasswords ¶
ComparePasswords Compare password
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.