Versions in this module Expand all Collapse all v0 v0.1.0 Mar 8, 2023 Changes in this version + var ErrIncompatibleVersion = errors.New("incompatible version of argon2") + var ErrInvalidEncodedHash = errors.New("the encoded hash is not in the correct format") + var ErrMismatched = errors.New("the given value is not the same as the current hashed value") + var ErrScan = errors.New("cannot scan the given value") + func Bytes(n uint32) ([]byte, error) + type Argon2 struct + func MustNew(toHash string) Argon2 + func New(toHash string) (Argon2, error) + func NewByEncoded(encoded string) (Argon2, error) + func (a *Argon2) Scan(src interface{}) error + func (a Argon2) Compare(toCompare string) error + func (a Argon2) String() string + func (a Argon2) Value() (driver.Value, error)