Generate unique ID for URL

Richard richardbp at
Wed Nov 14 01:50:28 CET 2012

These URL ID's would just be used internally for quick lookups, not exposed publicly in a web application.

Ideally I would want to avoid collisions altogether. But if that means significant extra CPU time then 1 collision in 10 million hashes would be tolerable.

More information about the Python-list mailing list