Computing the hash by projection