Update hash.h

hash code fix