A small Java class to generate YouTube-like hashes from one or many numbers.  Ported from javascript hashids.js by Ivan Akimov