Versions in this module Expand all Collapse all v1 v1.0.0 Feb 22, 2023 Changes in this version + const MinSaltSize + type HashResult struct + CipherText string + Salt string + type Password struct + HashFunc func() hash.Hash + Iterations int + KeyLen int + SaltSize int + func NewPassword(hashFunc func() hash.Hash, saltSize int, keyLen int, iter int) *Password + func (p *Password) GenSalt() (string, error) + func (p *Password) HashPassword(password string) HashResult + func (p *Password) VerifyPassword(password, cipherText, salt string) bool