Versions in this module Expand all Collapse all v1 v1.0.0 Jun 12, 2018 Changes in this version + var ErrAlgorithmMismatch = errors.New("unchained/pbkdf2: algorithm mismatch") + var ErrHashComponentMismatch = errors.New("unchained/pbkdf2: hashed password components mismatch") + var ErrHashComponentUnreadable = errors.New("unchained/pbkdf2: unreadable component in hashed password") + type PBKDF2Hasher struct + func NewPBKDF2SHA1Hasher() *PBKDF2Hasher + func NewPBKDF2SHA256Hasher() *PBKDF2Hasher + func (h *PBKDF2Hasher) Encode(password string, salt string, iterations int) (string, error) + func (h *PBKDF2Hasher) Verify(password string, encoded string) (bool, error)