aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMatt Silverlock <matt@eatsleeprepeat.net>2015-08-06 10:14:33 +0300
committerMatt Silverlock <matt@eatsleeprepeat.net>2015-08-06 10:14:33 +0300
commita2b6e9f57ea55d2c7a8cf1de58593fa761a34b73 (patch)
tree0a0fd2d8c84e0fcc21f54ca7288c3165623bc231 /README.md
parentba5126409e0340d53e989ad07501a14949889a0d (diff)
parent5a4a7236a014dc0cb2066ff5cafa1b3007b85228 (diff)
Merge pull request #27 from s7v7nislands/fix_readme
Update block key lengths in README
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9e64a85..5ed299e 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ To use it, first create a new SecureCookie instance:
```go
// Hash keys should be at least 32 bytes long
var hashKey = []byte("very-secret")
-// Block keys should be 32 bytes (AES-128) or 64 bytes (AES-256) long.
+// Block keys should be 16 bytes (AES-128) or 32 bytes (AES-256) long.
// Shorter keys may weaken the encryption used.
var blockKey = []byte("a-lot-secret")
var s = securecookie.New(hashKey, blockKey)