diff options
| author | Bert JW Regeer <xistence@0x58.com> | 2018-03-21 15:27:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-21 15:27:06 -0700 |
| commit | 590ca7c6eb950cea3d480dc77ca68fa4c8d59c8c (patch) | |
| tree | 49917e5e1abebae29292c39709f38f99b1ce3cf4 /src | |
| parent | c5ab02c698fe0b6a9f8f87cfafb066157db20d7f (diff) | |
| parent | 352e84ab5462957b854d3e6f2c7f6e276c5b215e (diff) | |
| download | webob-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.py | 4 |
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 |
