Versions in this module Expand all Collapse all v1 v1.1.0 Oct 12, 2020 v1.0.10 Jun 1, 2018 Changes in this version + const RecommendedMemory + const RecommendedThreads + const RecommendedTime + var ErrInvalidKeyValuePair = fmt.Errorf("invalid argon2 key-value pair") + var ErrInvalidStub = fmt.Errorf("invalid argon2 password stub") + var ErrMissingMemory = fmt.Errorf("memory parameter (m) is missing") + var ErrMissingParallelism = fmt.Errorf("parallelism parameter (p) is missing") + var ErrMissingTime = fmt.Errorf("time parameter (t) is missing") + var ErrMissingVersion = fmt.Errorf("version parameter (v) is missing") + var ErrParseConfig = fmt.Errorf("hash config section has wrong number of parameters") + var ErrParseVersion = fmt.Errorf("version section has wrong number of parameters") + func Argon2(password string, salt []byte, time, memory uint32, threads uint8) string + func Parse(stub string) (salt, hash []byte, version int, time, memory uint32, parallelism uint8, ...)