Commit graph

16 commits

Author SHA1 Message Date
Kamil Kisiel
5d52df3629 Revert "A few more comments on decoding."
This reverts commit a54a6f264e.
2015-03-27 08:31:06 -07:00
Kamil Kisiel
a54a6f264e A few more comments on decoding. 2015-03-17 16:36:01 -07:00
Kamil Kisiel
1dea542d12 Merge pull request #16 from elithrar/patch-1
Removed redundant calls to len()
2015-03-17 16:33:49 -07:00
Matt Silverlock
d8773d3e66 Removed redundant calls to len()
subtle.ConstantTimeCompare already undertakes a length check internally.
2015-03-18 07:06:26 +08:00
Abdülhamit Yilmaz
c7a729999d Commenting retErr and setErr in Decode 2015-03-17 23:33:39 +01:00
Abdülhamit Yilmaz
1be1b717b7 Improve Decode against timing attacks 2015-03-17 20:33:51 +01:00
Abdülhamit Yilmaz
5ce09b9e8f Omit unnecessary elses
See http://golang.org/doc/effective_go.html#else
2015-03-17 19:25:18 +01:00
Kamil Kisiel
5f171f4232 Fix broken error message on invalid MAC.
Fixes #13.
2015-02-02 22:33:18 -08:00
Dominik Honnef
0ff019e2d6 say that we create a key of a certain length, not strength 2014-11-20 16:05:54 +01:00
Mahmud Ridwan
2cceedbcce Expose ErrMacInvalid; fixes gorilla/securecookie#6 2014-04-09 09:50:10 +06:00
Kamil Kisiel
6e2523a6cb Add travis.yml 2013-11-30 13:25:48 -08:00
Kamil Kisiel
155134204c Better errors for {En,De}codeMulti. 2013-10-17 10:33:57 -07:00
John Downey
d77f52d17e Fix description for Encode 2012-12-31 23:49:49 -06:00
moraes
74772485ec Use the same MultiError version from the App Engine SDK. 2012-10-13 14:05:18 -03:00
moraes
aaee2300ed Better errors for EncodeMulti and DecodeMulti. Closes #1. 2012-10-13 04:34:19 -03:00
moraes
f34e8230f6 Initial files. 2012-10-03 01:53:51 -03:00