Versions in this module Expand all Collapse all v0 v0.2.0 Feb 10, 2022 Changes in this version + const Argon2id + const DefaultSaltLength + func MarshalECPublicKey(publicKey ecdsa.PublicKey) string + func RandomString(n int) string + func UnmarshalECPublicKey(compressed string) (ecdsa.PublicKey, error) + type Descriptor interface + GenerateToken func(tokenSalt string) string + Hash func(str, salt string) string + Verify func(str, salt, hash string) error + func Get(typ uint8) (Descriptor, error)