Documentation
¶
Index ¶
- func Argon2Compare(password, hash string) (bool, error)
- func Argon2Hash(password string) (string, error)
- func Argon2HashWithConfig(c *PasswordConfig, password string) (string, error)
- func BcryptCompare(hashedPwd string, plainPwd string) bool
- func BcryptHash(password string) (string, error)
- type PasswordConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Argon2Compare ¶
func Argon2Hash ¶
func Argon2HashWithConfig ¶
func Argon2HashWithConfig(c *PasswordConfig, password string) (string, error)
func BcryptCompare ¶
func BcryptHash ¶
Types ¶
type PasswordConfig ¶
type PasswordConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.