From 5a4a7236a014dc0cb2066ff5cafa1b3007b85228 Mon Sep 17 00:00:00 2001 From: s7v7nislands Date: Fri, 17 Jul 2015 17:59:40 +0800 Subject: fix readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') 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) -- cgit v1.2.3