Ticket #16354: 16354-signing-typo.patch

File 16354-signing-typo.patch, 587 bytes (added by Simon Charette, 13 years ago)
  • django/core/signing.py

     
    66>>> signing.dumps("hello")
    77'ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk'
    88
    9 There are two components here, separatad by a ':'. The first component is a
     9There are two components here, separated by a ':'. The first component is a
    1010URLsafe base64 encoded JSON of the object passed to dumps(). The second
    1111component is a base64 encoded hmac/SHA1 hash of "$first_component:$secret"
Back to Top