Research Article

Analytic Study of a Novel Color Image Encryption Method Based on the Chaos System and Color Codes

Algorithm 2

(Key mixing with color codes).
Input. Permuted array PM, , where ,, and are any three random secret colors in format and k is any random integer, such that
 Output. An array Q of order L
 Step 1. Computing self-invertible matrix
(a)Make a matrix of order 3 × 3 as
(b)Take a random integer , such that
(c)Calculate
 where is the identity matrix.
(d)Form a 6 × 6 self-invertible matrix as
Step 2. Making submatrices
(a)Convert one-dimensional array PM into submatrices of order. The matrix is , where
(b)Key mixing is performed using the subsequent formula of Hill cipher
(c)Concatenate all the ’s in the form of one-dimensional array again as  .