Ticket #16354: 16354-signing-typo.patch
File 16354-signing-typo.patch, 587 bytes (added by , 13 years ago) |
---|
-
django/core/signing.py
6 6 >>> signing.dumps("hello") 7 7 'ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk' 8 8 9 There are two components here, separat ad by a ':'. The first component is a9 There are two components here, separated by a ':'. The first component is a 10 10 URLsafe base64 encoded JSON of the object passed to dumps(). The second 11 11 component is a base64 encoded hmac/SHA1 hash of "$first_component:$secret"