added image de/-encryption