Versions in this module Expand all Collapse all v0 v0.0.1 May 5, 2022 Changes in this version + const Iterations + const KeyLength + const Memory + const Parallelism + const SaltLength + const Version + var ErrFailedVerify = errors.New("argon2: failed verify") + var ErrIncompatibleVersion = errors.New("argon2: incompatible version") + var ErrInvalidHash = errors.New("argon2: invalid hash") + func Hash(input []byte) ([]byte, error) + func HashAndVerify(input []byte) ([]byte, error) + func Verify(input, hash []byte) error + type Password []byte + func (Password) MarshalJSON() ([]byte, error) + func (Password) UnmarshalJSON([]byte) error + func (p *Password) Set(password []byte) error + func (p Password) Verify(input []byte) (bool, error)