Versions in this module Expand all Collapse all v1 v1.0.0 Jan 1, 2023 Changes in this version + var DefaultParams = &Params + var ErrIncompatibleVariant = errors.New("argon2id: incompatible variant of argon2") + var ErrIncompatibleVersion = errors.New("argon2id: incompatible version of argon2") + var ErrInvalidHash = errors.New("argon2id: hash is not in the correct format") + func ComparePasswordAndHash(password, hash string) (match bool, err error) + func CreateHash(password string, params *Params) (hash string, err error) + type Params struct + Iterations uint32 + KeyLength uint32 + Memory uint32 + Parallelism uint8 + SaltLength uint32 + func CheckHash(password, hash string) (match bool, params *Params, err error) + func DecodeHash(hash string) (params *Params, salt, key []byte, err error)