oTeam of 11

Brajeshwar

  • 10:17:14 am on August 28, 2008 | # |
    Tags:

    Over at Django Snippets, Simon Willison have an interesting way of creating a tamper-proof URLs and cookies by signing them, but without the overhead of a full 40 character SHA1 hash.

    He experimented further and was able to knock a 40 char hash down to 27 characters by encoding it using a custom base65 encoding which only uses URL-safe characters.

     

Leave a Comment