Versions in this module Expand all Collapse all v1 v1.3.0 Feb 11, 2020 v1.2.0 Oct 25, 2019 v1.1.0 Feb 14, 2019 Changes in this version + var ErrAlgorithmMismatch = errors.New("unchained/bcrypt: algorithm mismatch") + var ErrHashComponentMismatch = errors.New("unchained/bcrypt: hashed password components mismatch") + type BCryptHasher struct + Algorithm string + Cost int + Digest func() hash.Hash + func NewBCryptHasher() *BCryptHasher + func NewBCryptSHA256Hasher() *BCryptHasher + func (h *BCryptHasher) Encode(password string, salt string) (string, error) + func (h *BCryptHasher) Verify(password string, encoded string) (bool, error)