diff options
author | s7v7nislands <s7v7nislands@gmail.com> | 2015-07-17 12:59:40 +0300 |
---|---|---|
committer | s7v7nislands <s7v7nislands@gmail.com> | 2015-07-17 12:59:40 +0300 |
commit | 5a4a7236a014dc0cb2066ff5cafa1b3007b85228 (patch) | |
tree | fb98d10e8fe369670f7bf30c9972d0161fbe3b2f /README.md | |
parent | aeade84400a85c6875264ae51c7a56ecdcb61751 (diff) |
fix readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |