Documentation ¶
Overview ¶
Package passhash provides password hashing functionality using bcrypt.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Passhash ¶
type Passhash struct{}
Passhash is a password hashing tool.
func (*Passhash) Hash ¶
Hash returns a hashed string and an error.
func (*Passhash) HashBytes ¶
HashBytes returns a hashed byte array and an error.
func (*Passhash) Match ¶
Match returns true if the hash matches the password.
Click to show internal directories.
Click to hide internal directories.