“…In [20], the image chaotic encryption algorithm consists of secret keys selection, Latin cube generation, scrambling encryption, and diffusion encryption, as shown in Figure 1, where key 0 , µ 0 , α, β, γ are the secret keys, x n (n = 0, 1, 2, • • • ) is a chaotic sequence generated by Logistic mapping, lx is a chaotic index sequence, L 1 , L 2 , L 3 are three Latin cubes, P is a 2D plain gray image, M is a bit cube representation of P, S 1 is a first-scrambling image of M, D is a diffusion image of S 1 , S 2 is a second-scrambling image of D, E is a 2D cipher gray image of S 2 , and B is generated by L 1 . When the size of the image is w × h, the length of x n and lx is q = 3 √ 8 × w × h, the side length of Latin cubes and bit cubes is q = 3 √ 8 × w × h, and the secret keys…”