Encrypt index.