Wrap int and long hashing