diff options
author | Kamil Kisiel <kamil@kamilkisiel.net> | 2013-01-02 11:06:34 +0400 |
---|---|---|
committer | Kamil Kisiel <kamil@kamilkisiel.net> | 2013-01-02 11:06:34 +0400 |
commit | 6186150e83a63fbc943913bc96d4528460d79a28 (patch) | |
tree | 23de390e7dd8a187fb65b9f02497ef183f0ea11e | |
parent | 74772485ec34b39cc2641ddcd3fa6f68553b1d4b (diff) | |
parent | d77f52d17e8509ad9a36c0ed84fdcfdaefbe82be (diff) |
Merge pull request #2 from jtdowney/master
Fix description for Encode
-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 |