encrypt status file