added encrypt images