Documentation ¶
Overview ¶
Package password contains password encoders.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder interface { // EncodePassword encodes the raw password. EncodePassword(password []byte) ([]byte, error) // IsValidPassword checks a raw password against an encoded password. IsValidPassword(encodedPassword, password []byte) (bool, error) }
Encoder is used to implement password encoder.
Click to show internal directories.
Click to hide internal directories.