Versions in this module Expand all Collapse all v1 v1.0.0 Jan 27, 2019 Changes in this version + var ErrIncompatibleVersion = errors.New("incompatible version of argon2") + var ErrInvalidHash = errors.New("the encoded hash is not in the correct format") + var Validator = validator.New() + func Hash(password string) (encodedHash string, err error) + func SignToken(claims jwt.StandardClaims) (token string, err error) + func Validate(s interface{}) error + func Verify(password, encodedHash string) (match bool, err error) + func VerifyToken(token string, issuer string) (claims *jwt.StandardClaims, err error) + type ValidationErrorJSON struct + Key string + Message string