Hashids is a small open-source library that generates short, unique, non-sequential ids from numbers.