Perfect cipher