A small hash and encoding library used by taskrambler.