Skip to main content
. 2022 Jun 10;8(6):167. doi: 10.3390/jimaging8060167
Algorithm 1: ACM(I)

Input: Input: Ip Any Square image

Output: Output: Ie New encrypted image

1  num n, row r, col c

2  for i=0 to num do

3     for j=0 to row do

4        for k=0 to col do

    Shuffle the positions of the pixels of the image using Equation (2)

5        end for

6     end for

7  end for

8  Return  Ie