Find the correct hash value