Compute hostkeys