The hash function does not necessarily have to conform to one specific algorithm as long as equals/differs is respected.
We test the various equal_to and hash functions therein.