| Algorithm 4 Image encryption algorithm |
| Input: The plain image, O, the polynomial , , ,
, and . Output: E, the encrypted image. Step 1: Read the plain image, O. Step 2: Generate the secret key by using the key mixing proportion factor. Step 3: Call Algorithm 2 to get the shuffled image H. Step 4: Call Algorithm 3 to get the diffusion vector D. Step 5: Covert D to decimal, say . Step 6: Change the dimension of to , say E. Step 7: E is the encrypted image. |