Versions in this module Expand all Collapse all v1 v1.0.0 Jan 27, 2021 Changes in this version + const Iterations + const MaxSaltSize + const MaxTagLen + const MemoryCost + const Threads + const TimeCost + var ErrHashTooShort = errors.New("mu-io/go-argon2: hashedSecret too short to be a argon2ed password") + var ErrMismatchedHashAndPassword = errors.New("mu-io/go-argon2: hashedPassword is not the hash of the given password") + func CompareHashAndPassword(hashedPassword, password []byte) error + func GenerateFromPassword(variant string, password []byte) ([]byte, error) + type HashVariantNotSupportedError []byte + func (hv HashVariantNotSupportedError) Error() string + type HashVersionNotSupportedError uint8 + func (hv HashVersionNotSupportedError) Error() string + type InvalidHashPrefixError byte + func (ih InvalidHashPrefixError) Error() string