Documentation
¶
Index ¶
- func HashPassword(password string) (string, error)
- func HashResetCode(key []byte, code string) []byte
- func HashToken(value string) []byte
- func NewResetCode() (string, error)
- func ValidatePassword(password string) error
- func VerifyPassword(password, encoded string) bool
- func VerifyResetCode(key []byte, code string, expected []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
func HashResetCode ¶
func NewResetCode ¶
func ValidatePassword ¶
func VerifyPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.