import "github.com/kahlily/securecookie"
securecookie provide a go implementation of tornado (>=3.2) secure cookies.
func EncodeSecureCookie(name, value string, version int) (string, error)
Encode a specific version's(1 or 2) secure cookie.
func (sc *SecureCookie) DecodeSecureCookie(name, value string) (string, error)
Decode a secure cookie generate by EncodeSecureCookie.