Design of image cipher using latin squares