Adding encryption on images