Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordEncoder ¶
type PasswordEncoder struct{}
func NewArgon2PasswordEncoder ¶
func NewArgon2PasswordEncoder() *PasswordEncoder
func (*PasswordEncoder) EncodePassword ¶
func (e *PasswordEncoder) EncodePassword(rawPassword string) (password.EncodedPassword, error)
func (*PasswordEncoder) IsMatchPassword ¶
func (e *PasswordEncoder) IsMatchPassword(raw string, encoded password.EncodedPassword) bool
Click to show internal directories.
Click to hide internal directories.