diff options
author | John Downey <john@jtdowney.com> | 2013-01-01 09:49:49 +0400 |
---|---|---|
committer | John Downey <john@jtdowney.com> | 2013-01-01 09:49:49 +0400 |
commit | d77f52d17e8509ad9a36c0ed84fdcfdaefbe82be (patch) | |
tree | 23de390e7dd8a187fb65b9f02497ef183f0ea11e /securecookie.go | |
parent | 74772485ec34b39cc2641ddcd3fa6f68553b1d4b (diff) |
Fix description for Encode
Diffstat (limited to 'securecookie.go')
-rw-r--r-- | securecookie.go | 4 |
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 |