A new compound mode of confusion and diffusion for block encryption of image based on chaos