Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MinSaltSize a minimum salt size recommended by the RFC
MinSaltSize = 8
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashResult ¶
type Password ¶
func NewPassword ¶
func (*Password) HashPassword ¶
func (p *Password) HashPassword(password string) HashResult
func (*Password) VerifyPassword ¶
Click to show internal directories.
Click to hide internal directories.