testing computing the hash