Versions in this module Expand all Collapse all v1 v1.0.1 Jan 29, 2019 v1.0.0 Nov 3, 2017 Changes in this version + func Decrypt(token, secret string, now time.Time, ttl time.Duration) (string, error) + func Encrypt(msg, secret string, now time.Time) (string, error) + func RandomSecret() (string, error)