Precompute some hash keys