Versions in this module Expand all Collapse all v0 v0.2.3 Sep 1, 2015 Changes in this version + const ErrBadKey + const ErrExpiredKey + const ErrInvalidSignature + type Cipher struct + Hash func() hash.Hash + SecretKey string + Seperator string + TTL time.Duration + func (c *Cipher) Decrypt(str string) (string, error) + func (c *Cipher) Encrypt(str string) string