Versions in this module Expand all Collapse all v0 v0.1.0 Feb 28, 2020 Changes in this version + func Matches(password, hash string) (bool, error) + type ErrIncompatibleVersion struct + func (e ErrIncompatibleVersion) Error() string + type ErrInvalidForm struct + func (e ErrInvalidForm) Error() string + type ErrInvalidHash struct + func (e ErrInvalidHash) Error() string + type ErrInvalidHasherConfiguration struct + func (e ErrInvalidHasherConfiguration) Error() string + type ErrUnknownSetting struct + func (e ErrUnknownSetting) Error() string + type ErrUnsupportedExpr struct + func (e ErrUnsupportedExpr) Error() string + type Form int + const FormI + const FormID + type Hasher struct + Form Form + Iterations uint32 + KeyLength uint32 + Memory uint32 + Parallelism uint8 + SaltLength uint32 + func NewHasherFromString(settings string) (*Hasher, error) + func (h *Hasher) Create(password string) (string, error)