Multimedia Tools and Applications

, Volume 78, Issue 2, pp 2105–2133 | Cite as

A novel robust dual diffusion/confusion encryption technique for color image based on Chaos, DNA and SHA-2

  • Aqeel ur RehmanEmail author
  • Xiaofeng Liao


In the proposed article, a novel way of confusion is designed by introducing intra-permutation and Exclusive-OR operation with complementary DNA rules that brings randomness in the image. A SHA-256 hash function is used for modification of the initial conditions for 2-Dimensional Logistic  map. In the 1st phase of diffusion, the rows of the three colored channels are exchanged by selecting DC-Boxes chaotically and then same operation is applied on the columns. In 2nd diffusion phase, each color channel is permuted independently using chaotic sequence. Before confusion, DNA encoding is applied at pixel level chaotically and transformed each color channel into a linear array. These three arrays are combined into a matrix of three rows and multiple columns. This matrix is divided into blocks; each of size of three DNA bases; one from each color channel and substituted by Intra-channel diffusion using DC-Boxes. In 2nd phase of confusion, matrix is transformed into a large 1D array representing DNA bases of a color image. This large array is split into groups of size of four DNA bases; representing a pixel. These groups are substituted by Exclusive-OR operation with DNA complementary rules that selected chaotically. The proposed algorithm requires only single round of confusion/diffusion operation to achieve high quality of encryption results. This scheme is quite different for color image encryption based on DNA and has better results for different tests like NPCR, UACI, information entropy etc. Besides the larger key space, resistance against common transmission noise is another significant advantage of proposed scheme over some existing systems.


2D logistic map Chaos theory DNA rules SHA-256 Color image encryption Dual diffusion/confusion 



This work was supported in part by the National Key Research and Development Program of China under Grant 2016YFB 0800601, in part by the National Natural Science Foundation of China under Grant 61472331, in part by the Talents of Science and Technology Promote Plan, Chongqing Science & Technology Commission and in part by the Fundamental Research Funds for the Central Universities under Grant XDJK2015C078.


  1. 1.
    Ahmad M, Alam MS (2009) A new algorithm of encryption and decryption of images using chaotic mapping. Int J Comput Sci Eng 2(1):46–50Google Scholar
  2. 2.
    Rehman A, Liao X, Kulsoom A, Ullah S (2016) A modified (dual) fusion technique for image encryption using SHA-256 hash and multiple chaotic maps. Multimed Tools Appl 75(18):11241–11266CrossRefGoogle Scholar
  3. 3.
    Behnia S, Akhshani A, Mahmodi H, Akhavan A (2008) A novel algorithm for image encryption based on mixture of chaotic maps. Chaos, Solitons Fractals 35(2):408–419MathSciNetCrossRefGoogle Scholar
  4. 4.
    Belazi A, Abd El-Latif AA, Belghith S (2016) A novel image encryption scheme based on substitution-permutation network and chaos. Signal Process 128:155–170CrossRefGoogle Scholar
  5. 5.
    Biham E, Shamir A (1991) Differential cryptanalysis of DES-like cryptosystems. J Cryptol 4(1):3–72MathSciNetCrossRefGoogle Scholar
  6. 6.
    E. Biham and A. Shamir (1993) Differential Cryptanalysis of the Full 16-round DES BT - Advances in Cryptology — CRYPTO’ 92: 12th Annual International Cryptology Conference Santa Barbara, California, USA August 16–20, 1992 Proceedings. E. F. Brickell, Ed. Berlin, Heidelberg: Springer Berlin Heidelberg, 487–496Google Scholar
  7. 7.
    Çavuşoğlu Ü, Kaçar S, Pehlivan I, Zengin A (2017) Secure image encryption algorithm design using a novel chaos based S-box. Chaos, Solitons Fractals 95:92–101CrossRefGoogle Scholar
  8. 8.
    Chai X, Yang K, Gan Z (2017) A new chaos-based image encryption algorithm with dynamic key selection mechanisms. Multimed Tools Appl 76(7):9907–9927CrossRefGoogle Scholar
  9. 9.
    Chai X, Chen Y, Broyde L (2017) A novel chaos-based image encryption algorithm using DNA sequence operations. Opt Lasers Eng 88:197–213CrossRefGoogle Scholar
  10. 10.
    Enayatifar R, Abdullah AH, Isnin IF (2014) Chaos-based image encryption using a hybrid genetic algorithm and a DNA sequence. Opt Lasers Eng 56:83–93CrossRefGoogle Scholar
  11. 11.
    Enayatifar R, Sadaei HJ, Abdullah AH, Lee M, Isnin IF (2015) A novel chaotic based image encryption using a hybrid model of deoxyribonucleic acid and cellular automata. Opt Lasers Eng 71:33–41CrossRefGoogle Scholar
  12. 12.
    Fridrich J (1998) Symmetric ciphers based on two-dimensional chaotic maps. Int J Bifurc Chaos 8(6):1259–1284MathSciNetCrossRefGoogle Scholar
  13. 13.
    Gan Z, Chai X, Yuan K, Lu Y (2017) A novel image encryption algorithm based on LFT based S-boxes and chaos. Multimed Tools Appl:1–25Google Scholar
  14. 14.
    Gotz M, Kelber K, Schwarz W (1997) Discrete-time chaotic encryption systems. I. Statistical design approach. IEEE Trans Circuits Syst I Fundam Theory Appl 44(10):963–970MathSciNetCrossRefGoogle Scholar
  15. 15.
    Hua Z, Jin F, Xu B, Huang H (2018) 2D logistic-sine-coupling map for image encryption. Signal Process 149:148–161CrossRefGoogle Scholar
  16. 16.
    Kalpana J, Murali P (2015) An improved color image encryption based on multiple DNA sequence operations with DNA synthetic image and chaos. Opt - Int J Light Electron Opt 126(24):5703–5709CrossRefGoogle Scholar
  17. 17.
    Kulsoom A, Xiao D (2016) Aqeel-ur-Rehman, and S. A. Abbas, an efficient and noise resistive selective image encryption scheme for gray images based on chaotic maps and DNA complementary rules. Multimed Tools Appl 75(1):1–23CrossRefGoogle Scholar
  18. 18.
    DS Laiphrakpam, MS Khumanthem (2017) A robust image encryption scheme based on chaotic system and elliptic curve over finite field. Multimed Tools ApplGoogle Scholar
  19. 19.
    Li C (2016) Cracking a hierarchical chaotic image encryption algorithm based on permutation. Signal Process 118:203–210CrossRefGoogle Scholar
  20. 20.
    Li S, Zheng X (2002) Cryptanalysis of a chaotic image encryption method. Proc - IEEE Int Symp Circuits Syst 2:708–711Google Scholar
  21. 21.
    Li Y, Wang C, Chen H (2017) A hyper-chaos-based image encryption algorithm using pixel-level permutation and bit-level permutation. Opt Lasers Eng 90:238–246CrossRefGoogle Scholar
  22. 22.
    Li B, Liao X, Jiang Y (2017) A novel image encryption scheme based on logistic map and dynatomic modular curve. Multimed Tools Appl:1–28Google Scholar
  23. 23.
    Liu H, Wang X (2010) Color image encryption based on one-time keys and robust chaotic maps. Comput Math with Appl 59(10):3320–3327MathSciNetCrossRefGoogle Scholar
  24. 24.
    H Liu, Z Zhu, H Jiang, B Wang (2008) A Novel Image Encryption Algorithm Based on Improved 3D Chaotic Cat Map. 2008 The 9th International Conference for Young Computer Scientists 3016–3021Google Scholar
  25. 25.
    Liu L, Zhang Q, Wei X (2012) A RGB image encryption algorithm based on DNA encoding and chaos map. Comput Electr Eng 38(5):1240–1248CrossRefGoogle Scholar
  26. 26.
    Liu H, Wang X, Kadir A (2012) Image encryption using DNA complementary rule and chaotic maps. Appl Soft Comput J 12(5):1457–1466CrossRefGoogle Scholar
  27. 27.
    Y Luo, R Zhou, J Liu, S Qiu, Y Cao (2018) An efficient and self-adapting colour-image encryption algorithm based on chaos and interactions among multiple layers. Multimed Tools ApplGoogle Scholar
  28. 28.
    Norouzi B, Mirzakuchaki S (Oct. 2014) A fast color image encryption algorithm based on hyper-chaotic systems. Nonlinear Dyn 78(2):995–1015CrossRefGoogle Scholar
  29. 29.
    Norouzi B, Seyedzadeh SMSM, Mirzakuchaki S, Mosavi MRMR (Feb. 2014) A novel image encryption based on hash function with only two-round diffusion process. Multimedia Systems 20(1):45–64CrossRefGoogle Scholar
  30. 30.
    Pak C, Huang L (2017) A new color image encryption using combination of the 1D chaotic map. Signal Process 138:9CrossRefGoogle Scholar
  31. 31.
    Rehman A et al (2018) An efficient mixed inter-intra pixels substitution at 2bits-level for image encryption technique using DNA and chaos. Optik (Stuttg) 153:117–134CrossRefGoogle Scholar
  32. 32.
    Rhouma R, Belghith S (2008) Cryptanalysis of a new image encryption algorithm based on hyper-chaos. Phys Lett A 372(38):5973–5978CrossRefGoogle Scholar
  33. 33.
    S Sheela, KV Suresh, T Deepaknath (2018) Image encryption based on modified Henon map using hybrid chaotic shift transformGoogle Scholar
  34. 34.
    Silva-García VM, Flores-Carapia R, Rentería-Márquez C, Luna-Benoso B, Aldape-Pérez M (Sep. 2018) Substitution box generation using Chaos: an image encryption application. Appl Math Comput 332:123–135MathSciNetGoogle Scholar
  35. 35.
    Rehman A, Liao X, Kulsoom A, Abbas SA (2015) Selective encryption for gray images based on chaos and DNA complementary rules. Multimed Tools Appl 74(13):4655–4677CrossRefGoogle Scholar
  36. 36.
    Rehman A, Liao X, Ashraf R, Ullah S, Wang H (2018) A color image encryption technique using exclusive-OR with DNA complementary rules based on Chaos theory and SHA-2. Optik (Stuttg) 159:348–367CrossRefGoogle Scholar
  37. 37.
    Wang H, Xiao D, Chen X, Huang H (2017) Cryptanalysis and enhancements of image encryption using combination of the 1D chaotic map. Signal Process 144:444–452CrossRefGoogle Scholar
  38. 38.
    Watson JD, Crick FHC (1953) A Structure for Deoxyribose Nucleic Acid. Nature 171:737–738CrossRefGoogle Scholar
  39. 39.
    Wei X, Guo L, Zhang Q, Zhang J, Lian S (2012) A novel color image encryption algorithm based on DNA sequence operation and hyper-chaotic system. J Syst Softw 85(2):290–299CrossRefGoogle Scholar
  40. 40.
    Wu X, Kan H, Kurths J (2015) A new color image encryption scheme based on DNA sequences and multiple improved 1D chaotic maps. Appl Soft Comput J 37:24–39CrossRefGoogle Scholar
  41. 41.
    Xie T, Liu Y, Jie T (2014) Breaking a novel image fusion encryption algorithm based on DNA sequence operation and hyper-chaotic system. Opt - Int J Light Electron Opt 125(24):7166–7169CrossRefGoogle Scholar
  42. 42.
    Xie EY, Li C, Yu S, Lü J (2017) On the cryptanalysis of Fridrich’s chaotic image encryption scheme. Signal Process 132:150–154CrossRefGoogle Scholar
  43. 43.
    Yavuz E, Yazici R, Kasapba MC, Yamac E (2016) A chaos-based image encryption algorithm with simple logical functions. Comput Electr Eng 54:471–483CrossRefGoogle Scholar
  44. 44.
    Yen J-I, Guo J-C (2000) Efficient hierarchical chaotic image encryption algorithm and its VLSI realisation. IEE Proc - Vision, Image, Sign Proc 147(2):167CrossRefGoogle Scholar
  45. 45.
    Zhang Y (2018) The unified image encryption algorithm based on chaos and cubic S-box. Inf Sci (Ny) 450:361–377MathSciNetCrossRefGoogle Scholar
  46. 46.
    Zhang X, Wang X (2017) Multiple-image encryption algorithm based on mixed image element and chaos. Comput Electr Eng 62:401–413CrossRefGoogle Scholar
  47. 47.
    Zhang Q, Guo L, Wei X (2013) A novel image fusion encryption algorithm based on DNA sequence operation and hyper-chaotic system. Opt - Int J Light Electron Opt 124(18):3596–3600CrossRefGoogle Scholar
  48. 48.
    Zhou G, Zhang D, Liu Y, Yuan Y, Liu Q (2015) A novel image encryption algorithm based on chaos and line map. Neurocomputing 169:150–157CrossRefGoogle Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Department of Computer SciencesCOMSATS UniversityVehari campusPakistan
  2. 2.College of Electronics and Information EngineeringSouthwest UniversityChongqingPeople’s Republic of China

Personalised recommendations