Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Password ¶
type Password string
func (Password) Hash ¶
func (p Password) Hash() (PasswordHash, error)
func (Password) MarshalJSON ¶
func (Password) MustHash ¶
func (p Password) MustHash() PasswordHash
func (*Password) UnmarshalJSON ¶
type PasswordHash ¶
type PasswordHash []byte
func (PasswordHash) Compare ¶
func (h PasswordHash) Compare(cmp string) error
func (PasswordHash) String ¶
func (h PasswordHash) String() string
Click to show internal directories.
Click to hide internal directories.