Versions in this module Expand all Collapse all v1 v1.0.0 May 24, 2023 Changes in this version + const DefaultRounds + const MaximumRounds + const MinimumRounds + const RecommendedRounds + var ErrInvalidRounds = errors.New("invalid number of rounds") + var ErrInvalidStub = errors.New("invalid stub") + func Crypt256(password, salt string, rounds int) string + func Crypt512(password, salt string, rounds int) string + func EncodeBase64(b []byte) string + func Parse(stub string) (isSHA512 bool, salt, hash string, rounds int, err error)