An Enhanced Chaotic Image Encryption
An Enhanced Chaotic Image Encryption
5, December 2011
ABSTRACT
The paper proposes a new image encryption scheme based on chaotic encryption. It provides a fast encryption algorithm based on coupled chaotic map. The image is encrypted using a pseudorandom key stream generator. The image is partially encrypted by selecting most important components of image. To obtain most important components of an image, discrete wavelet transform is applied.
KEYWORDS
Chaos Theory, wavelet, logistic map,, image encryption.
1. INTRODUCTION
Chaos theory has been established since 1970s. The distinct properties of chaos, such as ergodicity, quasi-randomness, sensitivity dependence on initial conditions and system parameters, have granted chaotic dynamics as a promising alternative for the conventional cryptographic algorithms. A new way of image encryption scheme has been proposed which utilizes a chaos-based cryptographic scheme using the logistic map. A combined image compression and encryption scheme is proposed. The model is achieved by using discrete wavelet transform and RLE for compression. Chaos based system is used for encryption. This algorithm encrypts image pixel by pixel taking consideration the values of previously encrypted pixels. This system is robust against cryptanalytic attacks. Also a simple implementation of image encryption achieves high encryption rate on general purpose computer. In mobile bandwidth constraints and power saving are needed for which the proposed algorithm is suitable.
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.1, No.5, December 2011
(3) (4)
The steps involved in pseudorandom key stream generator are: 1. 2. Convert real number (5) (6) to binary equivalent . . 3. Divide into three parts and XOR the three parts to obtain 4. Perform above steps for value of i starting from 1 to n. 5. Convert to real value .
6. The value is given as initial value 2 to second logistic map. 7. Above steps are repeated for second logistic map. 8. The final value 9. 10. 11. 12. 13. 14. is multiplied by and is converted to binary, stored in s1. Multiply the value of 2 by and convert to binary and store in s2. Take first 56 bits of s1 and 5th to 15th bits of s2 and combine it to form the key to encrypt. Perform XOR operation of pixels with the key to obtain the cipher. At receiver side perform XOR of cipher with the key to decrypt data. Decompress the data using inverse DWT to obtain the pixels of the image. Write the pixels to a new image file.
The binary sequence generated by pseudorandom key stream generator is XORed with the pixel values of the image to obtain the cipher image.
3. STATISTICAL ANALYSIS
The encrypted images should possess certain random properties in order to resist the statistical attack. Statistical analysis is done by calculating the histograms, the correlations of two adjacent pixels in the encrypted images and the correlation coefficient for several images and its corresponding encrypted images of an image database. A detail study has been undergone and the results are summarized as followings. Different images have been tested, and similar results are obtained. However, due to the page limit, only the results for the Lena. The advantage of partial encryption is that only very few coefficients are encrypted so that encryption time is reduced. This is helpful in mobile application where bandwidth and power is constrained. It also helps to increase the security of image since the intruder does not know which all coefficients are encrypted.
(7)
78
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.1, No.5, December 2011
(9)
(10)
(11) Following results for found for various standard images: Image Lena Pepper Cameraman Correlation coefficient 0.00099 0.002 0.0017
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.1, No.5, December 2011
(a)
(b)
(c)
Fig 1: (a) horizontal, (b) vertical and (c) diagonal correlation matrix of original image
(a)
(b)
(c) Fig 2: (a) horizontal, (b) vertical and (c) diagonal correlation matrix of encrypted image It is clear from Fig 2 that there is negligible correlation between the two adjacent pixels in the encrypted image.
80
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.1, No.5, December 2011
(a)
(b)
(c) Fig3: Histogram of (a) original image and (b) encrypted image and (c) partially encrypted image
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.1, No.5, December 2011
When an image is encrypted, its entropy should ideally be 8. If it is less than this value, there exists a certain degree of predictability which threatens its security. The entropy of partially and complete encrypted images are found to be different by 0.2%. Image Lena Pepper Entropy(original) Entropy(Encrypted) 6.95 6.775 7.7719 7.7 7.762
Cameraman 6.775
Table 2: Information Entropy The obtained results are very close to the theoretical value. This means that information leakage in the encryption process is negligible.
3. CONCLUSIONS
The proposed algorithm was found to be very fast and secured which can be applied for real time applications which have bandwidth and power constraints. This is because it requires less time to encrypt and decrypt image since they are partially encrypted. This will also help to improve security since the intruder does not know which all coefficients are partially encrypted. Application of chaos theory helps to achieve complex dynamics. The encryption scheme can be extended to videos.
REFERENCES
[1] [2] [3] Y.B. Mao, G. Chen, S.G. Lian, A novel fast image Encryption scheme based on the 3D chaotic baker map, Int. J. Bifurcate Chaos, vol. 14, pp. 36133624, 2004. H. Gao, Y. Zhang, S. Liang, and D. Li, A new chaotic algorithm for image encryption, Chaos, Solutions &Fractals, vol. 29, no. 2, pp. 393399, 2006. Su Su Maung, and Myitnt Myint Sein, A Fast Encryption Scheme Based on Chaotic Maps, GMSARN International Conference on Sustainable Development: Issues and Prospects for the GMS, 2008. Musheer Ahmad and M. Shamsher Alam, A New Algorithm of Encryption and Decryption of Images Using Chaotic Mapping, Musheer Ahmad et al /International Journal on Computer Science and Engineering, Vol.2(1), 2009, 46-50. Fengjian Wang, Yongping Zhang and Tianjie Cao Research of chaotic block cipher algorithm based on Logistic map, 2009 Second International Conference on Intelligent Computation Technology and Automation, 2009: 678 681. Jui-Cheng Yen, and Jiun-In Guo, A New Chaotic Key-Based Design for Image Encryption and Decryption, IEEE International Symposium on ISCAS 2000, Geneva, pp. IV-49-IV-52, May. 2000. Po-Han Lee,Soo-Chang Pei and Yih-Yuh Chen, Generating Chaotic Stream Ciphers Using Chaotic Systems, Chinese Journal Of Physics Vol. 41 , No. 6, 2003. Socek, D., Shujun Li, Magliveras, S.S. and Furht, B, Short Paper: Enhanced 1-D Chaotic KeyBased Algorithm for Image Encryption, First International Conference on Security and Privacy for Emerging Areas in Communications Networks, 2005:406-407. 82
[4]
[5]
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.1, No.5, December 2011
[9]
Deergha Rao and K. Gangadhar, Modified Chaotic Key-Based Algorithm for Image Encryption and Its VLSI Realization, International Conference on Digital Signal Processing, 2007.
[10] H.E.H. Ahmed, H.M. Kalash, and O.S.F. Allah, An Efficient Chaos-Based Feedback Stream Cipher (ECBFSC) for Image Encryption and Decryption", presented at Informatica (Slovenia), 2007, pp.121-129. [11] Shubo Liu, Jing Sun, Zhengquan Xu An Improved Image Encryption Algorithm based on Chaotic System, journal of computers, vol. 4, no. 11, 2009, pp.1091-1100. [12] Abir Awad, Abdelhakim Saadane, Efficient Chaotic Permutations for Image Encryption Algorithms, Proceedings of the World Congress on Engineering Vol I, 2010. [13] Ai-hongZhu, Lia Li, Improving for Chaotic Image Encryption Algorithm Based on Logistic Map, 2nd Conference on Environmental Science and Information Application Technology, 2010. [14] G. Chen, Y. Mao, C.K. Chui, A symmetric image encryption based on 3D chaotic maps, Chaos Solutions Fractals, vol. 21, pp. 749761, 2004. [15] S. E. Borujeni, M. Eshghi1, Chaotic Image Encryption Design Using Tompkins-Paige Algorithm, Hindawi Publishing Corporation, Mathematical Problems in Engineering, Article ID 762652, 22 pages, 2009. [16] Mazleena Salleh, Subariah Ibrahim, Ismail Fauzi Isnin, Image encryption algorithm based on chaotic mapping, Journal Teknologi, 2003, pp: 112. [17] Shubo Liu, Jing Sun, Zhengquan Xu, An Improved Image Encryption Algorithm based on chaotic system, Journal of Computers, vol. 4, no. 11, November 2009, pp: 1091-1100. [18] Noura, H. El Assad, S. Vladeanu, C, Design of a fast and robust chaos-based crypto-system for image encryption, 8th International Conference on Communications (COMM), 2010, pp: 423 426.
Author
Mintu Philip is currently working as a faculty in Department of Computer Science at Rajagiri School of Engineering and Technology. She received B.Tech degree in Computer Science from Rajagiri School of Engineering and Technology, Kerala on April 2008. She completed M.tech in Computer Science with Specialization in Data Security under CUSAT, Kerala on 2011.
83