Versions in this module Expand all Collapse all v0 v0.1.3 Apr 5, 2020 v0.1.2 Jan 10, 2019 Changes in this version + var DefaultParams = &Params + var ErrIncompatibleVersion = errors.New("argon2: incompatible version of argon2") + var ErrInvalidHash = errors.New("argon2: the encoded hash is not in the correct format") + var ErrInvalidParams = errors.New("argon2: the parameters provided are invalid") + var ErrMismatchedHashAndPassword = errors.New("argon2: the hashed password does not match the hash of the given password") + func CompareHashAndPassword(hash, password []byte) error + func GenerateFromPassword(password []byte, p *Params) ([]byte, error) + func GenerateRandomBytes(n uint32) ([]byte, error) + type Params struct + Iterations uint32 + KeyLength uint32 + Memory uint32 + Parallelism uint8 + SaltLength uint32 + func (p *Params) Check() error