aboutsummaryrefslogtreecommitdiff
path: root/securecookie.go
diff options
context:
space:
mode:
authorJohn Downey <john@jtdowney.com>2013-01-01 09:49:49 +0400
committerJohn Downey <john@jtdowney.com>2013-01-01 09:49:49 +0400
commitd77f52d17e8509ad9a36c0ed84fdcfdaefbe82be (patch)
tree23de390e7dd8a187fb65b9f02497ef183f0ea11e /securecookie.go
parent74772485ec34b39cc2641ddcd3fa6f68553b1d4b (diff)
Fix description for Encode
Diffstat (limited to 'securecookie.go')
-rw-r--r--securecookie.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/securecookie.go b/securecookie.go
index ce5d09f..892b412 100644
--- a/securecookie.go
+++ b/securecookie.go
@@ -118,8 +118,8 @@ func (s *SecureCookie) BlockFunc(f func([]byte) (cipher.Block, error)) *SecureCo
// Encode encodes a cookie value.
//
-// It decodes, verifies a message authentication code, optionally decrypts and
-// finally deserializes the value.
+// It serializes, optionally encrypts, signs with a message authentication code, and
+// finally encodes the value.
//
// The name argument is the cookie name. It is stored with the encoded value.
// The value argument is the value to be encoded. It can be any value that can