summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBert JW Regeer <xistence@0x58.com>2018-03-21 15:27:06 -0700
committerGitHub <noreply@github.com>2018-03-21 15:27:06 -0700
commit590ca7c6eb950cea3d480dc77ca68fa4c8d59c8c (patch)
tree49917e5e1abebae29292c39709f38f99b1ce3cf4 /src
parentc5ab02c698fe0b6a9f8f87cfafb066157db20d7f (diff)
parent352e84ab5462957b854d3e6f2c7f6e276c5b215e (diff)
downloadwebob-590ca7c6eb950cea3d480dc77ca68fa4c8d59c8c.tar.gz
Merge pull request #353 from hongyuan1306/master
Fix suggested secret length in doc
Diffstat (limited to 'src')
-rw-r--r--src/webob/cookies.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webob/cookies.py b/src/webob/cookies.py
index 74fb7f7..6f23317 100644
--- a/src/webob/cookies.py
+++ b/src/webob/cookies.py
@@ -569,7 +569,7 @@ class SignedSerializer(object):
``secret``
A string which is used to sign the cookie. The secret should be at
least as long as the block size of the selected hash algorithm. For
- ``sha512`` this would mean a 128 bit (64 character) secret.
+ ``sha512`` this would mean a 512 bit (64 character) secret.
``salt``
A namespace to avoid collisions between different uses of a shared
@@ -886,7 +886,7 @@ class SignedCookieProfile(CookieProfile):
``secret``
A string which is used to sign the cookie. The secret should be at
least as long as the block size of the selected hash algorithm. For
- ``sha512`` this would mean a 128 bit (64 character) secret.
+ ``sha512`` this would mean a 512 bit (64 character) secret.
``salt``
A namespace to avoid collisions between different uses of a shared