Allows for a more generic contact matching, assuming that the hashes are
created client side.