Versions in this module Expand all Collapse all v1 v1.0.0 Apr 28, 2023 Changes in this version + var ErrIncompatibleVersion = errors.New("incompatible version of argon2") + var ErrInvalidHash = errors.New("the encoded hash is not in the correct format") + func CompareStringToArgon2Hash(password string, hashedPassword string) (match bool, err error) + func HashStringArgon2(password string) (encodedHash string, err error) + func RandomString(s int) (string, error)