Documentation
¶
Index ¶
Constants ¶
View Source
const ( Feature = "http-password-hmac-sha256" // MaxPasswordLength is the maximum plaintext password length in bytes. MaxPasswordLength = 1024 )
Variables ¶
This section is empty.
Functions ¶
func IsHashedPassword ¶
IsHashedPassword identifies the reserved prefix; ParseHashedPassword validates its contents.
Types ¶
type HashedPassword ¶
type HashedPassword struct {
// contains filtered or unexported fields
}
func ParseHashedPassword ¶
func ParseHashedPassword(s string) (*HashedPassword, error)
func (*HashedPassword) Matches ¶
func (v *HashedPassword) Matches(password string) bool
Click to show internal directories.
Click to hide internal directories.