Versions in this module Expand all Collapse all v1 v1.1.0 Oct 14, 2025 Changes in this version + func HashString(password string) string + func VerifyString(hash, password string) bool v1.0.0 Jul 22, 2025 Changes in this version + var ErrInvalidHash = errors.New("invalid hash format or parameters") + var ErrInvalidType = errors.New("invalid hash type (only argon2id is supported)") + func Hash(password []byte) []byte + func New() argon2id + func NewHash(time, memory uint32, threads uint8, saltLen, keyLen uint32) argon2id + func Parse(hash []byte) (h argon2id, salt []byte, key []byte, err error) + func Verify(hash, password []byte) bool