An enhanced hybrid image encryption algorithm using Rubik’s cube and dynamic DNA encoding techniques

Alaa A. Abdullatif, Firas A. Abdullatif, Sinan A. Naji


Image encryption is among the most active solutions to protect confidential pictorial information. However, to design a strong image encryption algorithm with no recognizable pattern, the researchers in this field have to enrich the confusion and diffusion properties. This study proposes an efficient hybrid system that combines two techniques. First, we propose a modified version of Rubik's Cube technique for scrambling colored image pixels to achieve fast confusion. This technique not only scrambles the position of image pixels but also scrambles the color channels. Then, dynamic DNA encoding algorithm is used to encrypt the pixel’s values. DNA encoding rules are used in conjunction with a secret key. We propose to select the DNA rules dynamically to enhance the security level. Five fidelity metrics are employed to assess the capability of this system. These are PSNR, SSIM, NPCR, Entropy, and CCA. The results indicate that the proposed system enhances the general security requirements with enriched confusion and diffusion properties of the encrypted image.


Image Encryption, Rubik’s Cube technique, DNA encoding.

Full Text:



V. Pachghare, Cryptography and information security. PHI Learning Private Limited, Delhi, India, Second Edition, 2015.

J. Zhang, D. Hou, and H. Ren, "Image encryption algorithm based on dynamic DNA coding and Chen’s hyperchaotic system," Mathematical Problems in Engineering, vol. 2016, 2016.

O. S. Faragallah et al., Image encryption: a communication perspective. CRC Press, 2013.

K. D. Patel and S. Belani, "Image encryption using different techniques: A review," International Journal of Emerging Technology and Advanced Engineering, vol. 1, no. 1, pp. 30-34, 2011.

J. Wu, X. Liao, and B. Yang, "Color image encryption based on chaotic systems and elliptic curve ElGamal scheme," Signal Processing, vol. 141, pp. 109-124, 2017.

A. Uhl and A. Pommer, Image and video encryption: from digital rights management to secured personal communication. Springer Science & Business Media, 2004.

A. A. Al-lehiebe, “Ciphered Text Hiding in an Image using RSA algorithm RSA,” J . Coll. Educ. Women, vol. 26, no. 3, pp. 879–884, 2015.

I. A. Taqi and S. M. Hameed, “A new Color image Encryption based on multi Chaotic Maps,” Iraqi J. Sci., vol. 59, no. 4, pp. 2117–2127, 2018.

Z. Yun-Peng, L. Wei, C. Shui-Ping, Z. Zheng-Jun, N. Xuan, and D. Wei-di, "Digital image encryption algorithm based on chaos and improved DES," presented at the 2009 IEEE International Conference on Systems, Man and Cybernetics, 2009.

G. Zhao, X. Yang, B. Zhou, and W. Wei, "RSA-based digital image encryption algorithm in wireless sensor networks," presented at the 2010 2nd International Conference on Signal Processing Systems, 2010.

Q. Gong-bin, J. Qing-feng, and Q. Shui-sheng, "A new image encryption scheme based on DES algorithm and Chua's circuit," presented at the 2009 IEEE International Workshop on Imaging Systems and Techniques, 2009.

A. El-Deen, E. El-Badawy, and S. Gobran, "Digital image encryption based on RSA algorithm," J. Electron. Commun. Eng, vol. 9, no. 1, pp. 69-73, 2014.

L. Li, A. A. A. El-Latif, and X. Niu, "Elliptic curve ElGamal based homomorphic image encryption scheme for sharing secret images," Signal Processing, vol. 92, no. 4, pp. 1069-1078, 2012.

X. Wu, H. Kan, and J. Kurths, "A new color image encryption scheme based on DNA sequences and multiple improved 1D chaotic maps," Applied Soft Computing, vol. 37, pp. 24-39, 2015.

L. Krikor, S. Baba, T. Arif, and Z. Shaaban, "Image encryption using DCT and stream cipher," European Journal of Scientific Research, vol. 32, no. 1, pp. 47-57, 2009.

M. Hussain; and M. Hussain, "A Survey of Image Steganography Techniques," International Journal of Advanced Science and Technology, vol. 54, no. May, 2013.

A. Baby and H. Krishnan, "Combined Strength of Steganography and Cryptography-A Literature Survey," International Journal of Advanced Research in Computer Science, vol. 8, no. 3, 2017.

T. Gao and Z. Chen, "Image encryption based on a new total shuffling algorithm," Chaos, solitons & fractals, vol. 38, no. 1, pp. 213-220, 2008.

G. Zhang and Q. Liu, "A novel image encryption method based on total shuffling scheme," Optics Communications, vol. 284, no. 12, pp. 2775-2780, 2011.

Z. Tang, X. Zhang, and W. Lan, "Efficient image encryption with block shuffling and chaotic map," Multimedia tools and applications, vol. 74, no. 15, pp. 5429-5448, 2015.

A. Akhavan, A. Samsudin, and A. Akhshani, "Cryptanalysis of an image encryption algorithm based on DNA encoding," Optics & Laser Technology, vol. 95, pp. 94-99, 2017.

H. Liu and X. Wang, "Image encryption using DNA complementary rule and chaotic maps," Applied Soft Computing, vol. 12, no. 5, pp. 1457-1466, 2012.

O. F. Rashid, Z. A. Othman, and S. Zainudin, "A novel DNA sequence approach for network intrusion detection system based on cryptography encoding method," International Journal on Advanced Science, Engineering and Information Technology, vol. 7, no. 1, pp. 183-189, 2017.

M. Helmy, E.-S. M. El-Rabaie, I. M. Eldokany, and F. E. A. El-Samie, "3-D Image Encryption Based on Rubik’s Cube and RC6 Algorithm," 3D Research, vol. 8, no. 4, p. 38, 2017.

K. Loukhaoukha, J.-Y. Chouinard, and A. Berdai, "A secure image encryption algorithm based on Rubik's cube principle," Journal of Electrical and Computer Engineering, vol. 2012, p. 7, 2012.

T. de Castella, "The people who are still addicted to the Rubik's Cube," BBC News Magazine. bbc. com. Retrieved, vol. 28, 2014.

A. Jamieson, "Rubik’s cube inventor is back with Rubik’s 360," The Daily Telegraph, 2009.

K. Abitha and P. K. Bharathan, "Secure Communication Based on Rubik's Cube Algorithm and Chaotic Baker Map," Procedia Technology, vol. 24, pp. 782-789, 2016.

S. Kilaru, Y. Kanukuntla, A. Firdouse, and M. Bushra, "effective and key sensitive security algorithm for an image processing using robust Rubik encryption and decryption process," University of Birmingham, ISSN (Print), vol. 2, pp. 2278-8948, 2013.

A.-V. Diaconu and K. Loukhaoukha, "An improved secure image encryption algorithm based on Rubik's cube principle and digital chaotic cipher," Mathematical Problems in Engineering, vol. 2013, 2013.

A. K. Kaundal and A. Verma, "DNA based cryptography: a review," International Journal of Information and Computation Technology, vol. 4, no. 7, pp. 693-698, 2014.

Y. Zhang and L. H. B. Fu, "Research on DNA cryptography," presented at the Applied cryptography and network security, 2012.

X. Zhang, F. Han, and Y. Niu, "Chaotic image encryption algorithm based on bit permutation and dynamic DNA encoding," Computational intelligence and neuroscience, vol. 2017, Article ID 6919675, 2017.

Q. Zhang, L. Guo, and X. Wei, "Image encryption using DNA addition combining with chaotic maps," Mathematical and Computer Modelling, vol. 52, no. 11-12, pp. 2028-2035, 2010.

E. Shehab, A. K. Farag, and A. Keshk, "An Image Encryption Technique based on DNA Encoding and Round-reduced AES Block Cipher," International Journal of Computer Applications, vol. 107, no. 20, 2014.

R. Enayatifar, A. H. Abdullah, and I. F. Isnin, "Chaos-based image encryption using a hybrid genetic algorithm and a DNA sequence," Optics and Lasers in Engineering, vol. 56, pp. 83-93, 2014.

X. Wei, L. Guo, Q. Zhang, J. Zhang, and S. Lian, "A novel color image encryption algorithm based on DNA sequence operation and hyper-chaotic system," Journal of Systems and Software, vol. 85, no. 2, pp. 290-299, 2012.

X.-Y. Wang, Y.-Q. Zhang, and X.-M. Bao, "A novel chaotic image encryption scheme using DNA sequence operations," Optics and Lasers in Engineering, vol. 73, pp. 53-61, 2015.

L. Liu, Q. Zhang, and X. Wei, "A RGB image encryption algorithm based on DNA encoding and chaos map," Computers & Electrical Engineering, vol. 38, no. 5, pp. 1240-1248, 2012.

G. N. Mohammed, A. A. H. Al-fatlawi, and A. T. Kamil, “Combined DWT-DISB based image watermarking optimized for decision making problems,” Period. Eng. Nat. Sci., vol. 7, no. 3, pp. 1009–1020, 2019.

S. I. M. Ali, M. G. Ali, L. Abd, Z. Qudr, and S. I. M. Ali, “PDA : A private domains approach for improved msb steganography image,” Period. Eng. Nat. Sci., vol. 7, no. 3, pp. 1405–1411, 2019.

M. J. Aqel, A. Umar, and M. Agoyi, “A performance Evaluation of Transform Domain Algorithm in Watermarking Based on Different Levels of Sub-Bands of Discrete Wavelet Transform,” Periodicals of Engineering and Natural Sciences, vol. 7, No. 2, PP. 546–554, 2019.

Y. Wu, J. P. Noonan, and S. Agaian, "NPCR and UACI randomness tests for image encryption," Cyber journals: multidisciplinary journals in science and technology, Journal of Selected Areas in Telecommunications (JSAT), vol. 1, no. 2, pp. 31-38, 2011.

G. Yang, H. Jin, and N. Bai, "Image encryption using the chaotic Josephus matrix," Mathematical Problems in Engineering, vol. 2014, 2014.

K. Rao and H. Wu, "Structural similarity based image quality assessment," in Digital Video image quality and perceptual coding: CRC Press, 2005, pp. 261-278.

The USC-SIPI image database [Online] Available:

C. Song and Y. Qiao, "A novel image encryption algorithm based on DNA encoding and spatiotemporal chaos," Entropy, vol. 17, no. 10, pp. 6954-6968, 2015.

C.-Y. Song, Y.-L. Qiao, and X.-Z. Zhang, "An image encryption scheme based on new spatiotemporal chaos," Optik-International Journal for Light and Electron Optics, vol. 124, no. 18, pp. 3329-3334, 2013.



  • There are currently no refbacks.

Copyright (c) 2019 Alaa A. Abdullatif

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

ISSN: 2303-4521

Digital Object Identifier DOI: 10.21533/pen

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License