Skip to Content
You are currently on the new version of our website. Access the old version .
  • Article
  • Open Access

30 June 2015

Image Encryption Based on Complicated Chaotic †

,
,
and
1
School of Information Engineering, Wenzhou Medical University, Wenzhou 325035, China
2
Shanghai Electro-Mechanical Engineering Institute, Shanghai Academy of Spaceflight Technology, Shanghai 201109, China
3
College of Civil Aviation, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China
4
College of Physics and Electronic Information Engineering, Wenzhou University, Wenzhou 325035, China

Abstract

In order to improve the security of secret image transmission, using the property of the chaotic sequence in the encryption algorithm, a block image encryption scheme based on Logistic and Henon composite chaotic system is presented. The image encryption algorithm from two aspects that the pixel grayscale value and pixel position through two different chaotic sequences transform of the Logistic and Henon. At first, Logistic chaotic sequence is applied to the scrambling operation on the pixel position matrix. Then the pixel values of blocked images are scrambled based on Henon chaotic sequence. The experiments show that the algorithm has good encryption effect, and has better robustness to crop or noise attack. The cross correlation of encrypted image are decreased and the transport security is improved, the result shows that the project is effective.

1. Introduction

With the rapid progress of information technology, the digital image storage and transmission security problem has become an important research direction in the field of information security. The image data encryption technology takes one kind of commonly used digital image processing technology, which widely applies to domain of the military, aviation, medicine, communication. Image data is characterized by its large data volume and higher information correlation. Secret key sensitivity and real-time data should be taken into consideration when design an encryption scheme. Research shows that a good password system should meet the following conditions:
(1)
The plaintext should be transform for random cipher text;
(2)
Highly sensitive to the encryption algorithm;
(3)
Chaotic systems are sensitive to the chaotic key.
The characteristics of the chaotic system, such as well pseudorandom, long inscrutability, high sensibility to the initial value, the regularity and universality, make it be applied in the code field [1,2,3,4,5]. Chaotic encryption method is flexible. We take advantage of all the good qualities of chaotic signal.

2. Based on the Logistic and Henon Compound Chaotic Sequence Encryption Algorithm

Chaotic sequence has the characteristics of high ergodicity and sensitivity to initial value, this feature is suitable for the encryption of digital information. In view of the small key space, the simple encryption structure, the low chaotic sequence complexity and the low safety, the block image encryption algorithm based on the Logistic and Henon compound chaotic sequence is presented in this paper. In the new image encryption system, image encryption is implemented by changing the position and value of every pixel. Image encryption with the improved complicated chaotic sequence is studied such as encryption structure, key space and every possible attack. In this paper, the digital image encryption algorithm encryption algorithm flow chart is shown in Figure 1. This encryption algorithm is divided into two key steps:
Figure 1. Steps of the encryption algorithm.
Step 1
Pixel position scrambling transformation;
Step 2
Grey value is encrypted of block image.

2.1. The Positions of Image Pixels Scrambling Transformation

Logistic sequence is the typical chaotic mapping in chaotic systems [6,7,8]. The chaotic sequence has easy to produce, is sensitive to the initial condition as well as has the dummy randomness. In this paper, the image encryption is implemented by changing the position of image pixel with the Logistic chaotic sequence. The Logistic chaotic sequence is constructed as Eq. (1):
xk = uxk(1 − xk)
Here u is bifurcation parameter (0 ≤ u ≤ 4), and xk is the state variables of the system xk ∈ (0, 1). If one chooses u ∈ [3.5699456 …, 4], the system is chaotic. According to the image of size m × n with the initial conditions u and x0, the chaos sequence is generated by Eq. (1). The chaos sequence is defined as xk; k = 1, 2, …, m × n. The new chaotic sequence x k ′ is generated by sorting the chaotic sequence xk. The location information of the new chaotic sequence x k ′ can be gained from the chaotic sequence xk. The pixel vector of position scrambling image can be obtained as Nk; k = 1, 2, …, m × n. And the image pixel position scrambling is realized. The image scrambling encryption experimental results with the above way is shown in Figure 2. The experiment results show that the histogram of the original image and the cipher image are not changed. So the image encryption based on position scrambling can’t change histogram distribution of original image. This will affect the security of image encryption results. The analysis indicates that the encryption algorithm can not effectively resist attack.
Figure 2. The original image and position scrambling image. The left row show the image and its histogram. The right row show the original image and its histogram osition scrambling image and its histogram.

2.2. Grey Value Encryption of Block Image

Studies have shown that the key space can be increased and the security of encryption algorithm can be improved by choosing different chaotic system in the grey value encryption. Compared with single dimension mapping, Henon map is nonlinear two-dimensional mapping [9,10]. It has the following features: the complexity of the dynamic characteristics and the single inverse value. These features make Henon map suitable for digital image encryption. In our scheme, two variables of the Henon chaotic map are adopted to encrypt the grey value. Henon chaotic map is described as follows:
x n + 1 = y n + 1 − a x n 2 y n + 1 = b x n 2
Here a and b are control parameter. The well-studied Henon map presents a simple two-dimensional map with quadratic non-linearity. This map gave a first example of the strange attractor with a fractal structure. Because of its simplicity, the Henon map easily lends itself to numerical studies. Thus a large amount of computer investigations followed. Nevertheless, the complete picture of all possible bifurcations under the change of the parameters a and b is far from completion. If one chooses 1.05 < a < 1.8, b = 0.3, the system is chaotic. According to the image of size m × n, the chaos sequence is generated by Eq. (2). The chaos sequence is defined as Hx(k) (k = 1, 2, …, m × n); Hy(k) (k = 1, 2, …, m × n). The approximate uniform random sequence can be obtained by using quantitative methods of the integers modulo operators in the chaotic sequence Hx(k). The approximate uniform random sequence is defined as Hx′(k)′ (k = 1, 2, …, m × n); Hyk(k)′ (k = 1, 2, …, m × n). This arithmetic is of better antiattack. In order to improve the security of encryption algorithm, the image block is given after position scrambling. The position scrambling image is divided into upper and lower two parts, and then the position scrambling block images are encrypted by random sequence. The random sequence is adjusted by XOR operation, and then the values of block image pixel are encrypted by the adjustment random sequence. The grey value scrambling can change histogram distribution of original image. The grey value of block image is encrypted as shown in Figure 3.
Figure 3. Grey value encryption. The left row show the position scrambling image and its histogram. The right row show the finally encrypted image and its histogram.
In our scheme, the encryption process consists of two steps of operations.
Step 1: The image encryption is implemented by changing the position of image pixel with the Logistic chaotic sequence. The results show that the correlation of adjacent pixels can not be effectively destroyed by the single chaotic system position scrambling.
Step 2: The image block is given after position scrambling. The position scrambling block images are encrypted by Henon sequence. In the new image encryption system, image encryption is implemented by changing the position and value of every pixel. In our scheme, the key space can be increased and the security of encryption can be improved.

3. The Analysis of Encryption Effect

3.1. Security Analysis

Some experimental results are given in this section to demonstrate the efficiency of our scheme. Encryption algorithm in this paper consists of three system parameters of two chaotic systems and three initial values of state variables. They can be used as key. When to encrypt the original image, take system parameters are as follows: u = 3.8, a = 1.4, b = 0.3. The initial value selection (key) is as follows: x1(0) = 0.11, x2(0) = 0.21, x3(0) = 0.22. Experimental initial values for testing the safety are as follows: x1(0) = 0.1100001, x2(0) = 0.2100001, x3(0) = 0.22. The encrypted image and the decrypted image with the right key is shown in Figure 4. The encrypted image and the decrypted image with the wrong key is shown in Figure 5. From the experimental results it can be seen that the subtle differences of initial value will lead to the failure of the image decryption in chaotic system. The sensitivity to initial value is validated through simulation. Experimental results show that the algorithm has high security.
Figure 4. Image encryption and decryption with the right key.
Figure 5. Image encryption and decryption with the wrong key.
The security of encryption algorithm in encryption algorithm is not only sensitive to initial value, but also the effectiveness of the exhaustive attack is affected by the size of the key space. The key space of block image encryption algorithm based on Logistic and Henon Compound chaotic sequence is composed of six parameters. The six parameters is u, a, b, x1(0), x2(0), x3(0). Among them, the five parameters can be accurately said to 15 double precision of real number after the decimal point. So the size of key space is 10 15 × 5 = 10 75 . Due to realizing in double-real precision, the algorithms are provided with big secret key space. If the key space is enough big, the algorithm can be more effective against brute force attack.

3.2. Attack Experimental Analysis

We validate the algorithm through experiments and analyze its performance. Figure 6 shows the final encrypted image by cutting a location and the histogram shows the results of image after decryption. The experiments show that although to cut the part of encrypted image, the most of the original image information is restored after image decryption.
Figure 6. Experiment results of part cutting.
In the fighting against noise experimental analysis, the diagrams of two typical noises (Gaussian noise and salt-pepper noise) are given in the paper. Figure 7 shows the decrypted image after salt-pepper noise attacking and the result of histogram. Figure 8 shows the decrypted image after Gaussian noise attacking and the result of histogram. Experiments show that the capability of these two methods to resist all kinds of common attacks is excellent.
Figure 7. The decrypted image after salt-pepper noise attacking.
Figure 8. The decrypted image after Gaussian noise attacking.

3.3. Correlation Analysis

The results show that adjacent pixels of original image have great correlation. In order to effectively overcome the threat of statistical attacks, the correlation of adjacent pixels must be reduced by encryption algorithm. The calculation formulas of image correlation between adjacent pixels are described as follows:
E ( x ) = 1 N ∑ i = 1 N x i
D ( x ) = 1 N ∑ i = 1 N ( x i − E ( x ) ) 2
c o v ( x , y ) = 1 N ∑ i = 1 N ( x i − E ( x ) ) ( y i − E ( y ) )
R ( x , y ) = c o v ( x , y ) D ( x ) D ( y )
Here x and y are the adjacent pixel values in images. E(x) is the average value of pixel values. D(x) is the mean square error of pixel values. cov(x, y) is Correlation function. R(x, y) is the relativity of close pixels. In order to verify the effectiveness of the proposed chaotic encryption algorithm, the above formulas are applied to the original image and the encrypted image. The proposed chaotic encrypted algorithm was implemented and tested with experimental image. 2000 pairs of adjacent pixels which are randomly selected, are analyzed from three directions vertical, horizontal and diagonal in the image. The experimental results of Table 1 show that the original image is large correlation between adjacent pixels. The correlation of the adjacent pixels with the proposed image encryption algorithm is less than the correlation of the original image.
Table 1. Correlation analysis.

3.4. Image Fidelity Analysis

Image encryption and image decryption may lead to the information loss of the original image. So the degree of the deviation between the decrypted image and the original image need to be described. Typical fidelity rule includes two types:
(1)
Objective fidelity criteria.
(2)
Subjective fidelity criteria.
Objective fidelity rule is easy to calculate or measure. So the root mean square error erms and peak signal-to-noise ratio (PSNR) are chosen to analyze the fidelity of decrypted image and original image.
I(x, y) is the original image, I ^ (x, y) is the decrypted image. The root mean square error erms and peak signal-to-noise ratio (PSNR) between original image and decrypted image are defined as Eq. (7) and Eq. (8). And the sizes of the two images are M × N.
e r m s = 1 M N ∑ x = 0 M − 1 ∑ y = 0 N − 1 [ I ^ ( x , y ) − I ( x , y ) ] 2 1 / 2
P S N R = 10 l g I m a x 2 1 M N ∑ x = 0 M − 1 ∑ y = 0 N − 1 [ I ^ ( x , y ) − I ( x , y ) ] 2
where Imax= maxI(x, y), x = 0, 1, …, M − 1, y = 0, 1, …, N − 1. It is the maximum gray value of images. The fidelity of the image shown in Figure 4 is analyzed. The mean square error is 0 between the original image and the decrypted image with the right key. And peak signal noise ratio is infinite. The experimental results show that the algorithm for image encryption and decryption is without errors. And the fidelity of the image shown in Figure 5 is also analyzed. The mean square error is 166.0759 between the original image and the decrypted image with the wrong key. And peak signal noise ratio is 25.9277. The experimental results show that that the decrypted image with tiny difference keys will be gotten different from the original image. And root mean square error is big.

4. Conclusion

In this paper, image encryption scheme based on the Logistic and Henon compound chaotic sequence with block image is presented. The experimental results show that the algorithm has large enough key space and high security. Meanwhile, through the privacy key analysis, the histogram analysis, attack experimental analysis, correlation analysis and the image fidelity analysis, the security of this algorithm is very high. And the complexity of image encryption based on compound chaotic sequence with block image is improved. The good results were achieved. Simulation results illustrate the validity of the presented method.

References

  1. Honge Ren, Linlin Dai, Jian Zhang, Image encryption algorithm based on chaotic sequence transform [J]. Comput. Eng. Des. 2013, 1615–1619.
  2. Vinod Patidar, A robust and secure chaotic standard map based pseudorandom permutation-substitution scheme for image encryption [J]. Opt. Commun. 2011, 284(19), 4331–4339. [Google Scholar] [CrossRef] [Scilit]
  3. Lepeng Liu, Xuefeng Zhang, Image encryption algorithm based on chaos and bit operations [J]. J. Comput. Appl. 2013, 33(4), 1070–1073. [Google Scholar] [CrossRef] [Scilit]
  4. Zhu, Z. L.; Zhang, W.; Wong, K. W.; et al. A chaos-based symmetric image encryption scheme using a bit-level permutation [J]. Inf. Sci. An. Int. J. 2011, 181(6), 1171–1186. [Google Scholar] [CrossRef] [Scilit]
  5. Yang Wang, Chengmao Wu et al., Dynamic block cipher algorithm base on chaos control [J]. J. Xi’an Inst. Posts Telecommun. 2012, 17(6), 42–47.
  6. Fengxia Yang, Encryption of compressed image based on logistic mapping [J]. Laser Infrared 2013, 43(5), 565–568.
  7. Chaoyong Tuo, Zheng Qin, Qian Li, Color image encryption algorithm based on 2D logistic chaotic map and bit rearrange [J]. Comput. Sci. 2013, 40(8), 300–308.
  8. Patida, T. V.; Pareek, N. K.; Sud, K. Modified substitution diffusion image cipher using chaotic standard and logistic maps [J]. Commun. Nonlinear Sci. Numer. Simul. 2010, 15(10), 2755–2765. [Google Scholar] [CrossRef] [Scilit]
  9. Ping Ping, Zhijian Wang et al., Analysis and improvement of image encryption algorithm based on Henon map [J]. J. Nanjing Univ. Sci. Technol. 2012, 36(4), 587–592.
  10. Ping Jiang, Dinghui Zhang et al., The digital image encryption based on Henon and Rossler chaotic mapping [J]. Data Commun. 2012, 4, 15–18.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.