gorilla securecookie Encode/Decode example func main() { _cookie := "" { var hashKey = []byte("very-secret_very-secret_very-secret_very-secret") var blockKey = []byte("a-lot-secret-123") var s = securecookie.New(hashKey, blockKey) orgvalue := map[string]string{"MYKEY": "MYVALUE"} cookie, err := s.Encode("cookie-name", orgvalue) if err != nil { panic(err) } fmt.Println("cookie:", cookie) _cookie ..