Research Article

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

Algorithm 3

(Pixel diffusion).
 Input. An array, secret key , CLM (2)
 Output. Encrypted image
 Step 1. With key and CLM (2), generate a sequence
 Step 2. The sequence is transformed into a sequence of integers using the following formula: .
 Step 3. Bitwise XOR each element of with element of at the corresponding positions and preceding ciphered pixel as ,
 Step 4. Reshape array in the form of a matrix of order
 Step 5. Convert resulting matrix in step (4) to get the cipher image