hashids (Hash ID's) creates short, unique, decodable hashes from unsigned (long) integers. It was designed for websites to use in URL shortening, tracking stuff, or making pages private (or at least unguessable). This algorithm tries to satisfy the following requirements: Hashes must be unique and decodable. They should be able to contain more than one integer (so you can use them in complex or cl