make hashing compatible with node-memached / node-hashring