Implementation of hashids (http://hashids.org) in Python. Compatible with Python 2 and Python 3