Skip to main content
Log in

Image cipher using image filtering with 3D DNA-based confusion and diffusion strategy

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

In this paper, an image cipher is presented based on DNA sequence operations, image filtering and memrisitve chaotic system. Firstly, plain image is preprocessed by a self-updating transformation based on dynamic image filtering (STDIF), which may solve the problem that conventional filtering is invalid for special image such as all-zeros. Subsequently, the resulting image is converted into the DNA sequences by the dynamic DNA encoding rules, and the rules are produced by plain image information and chaotic system. Next, the DNA matrix is permutated by a double random 3D matrix scrambling (DR3DMS), thus every element may arbitrarily move to other position. Thereafter, the permutated matrix is diffused by a plane diffusion of 3D DNA matrix controlled by plain image information (PD3DPI) to resist statistical attacks. Finally, the obtained DNA matrix is transformed into cipher image via DNA decoding rules. Additionally, SHA 256 hash function value of plain image is applied to choose keystreams from the obtained chaotic sequences, which not only solves the problem of repeatedly generating chaotic sequences when encrypting different images, but also results into higher difficulty for hackers to decipher the method by use of plaintext attack. Experimental results and security analyses demonstrate its security and effectiveness.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18

Similar content being viewed by others

References

  1. Wang MX, Wang XY, Zhao TT, Zhang C, Xia ZQ, Yao NM (2021) Spatiotemporal chaos in improved cross coupled map lattice and its application in a bit-level image encryption scheme. Inf Sci 544:1–24

    MathSciNet  Google Scholar 

  2. Zhang H, Wang XQ, Sun YJ, Wang XY (2020) A novel method for lossless image compression and encryption based on LWT, SPIHT and cellular automata. Signal Process Image 84:115829

    Google Scholar 

  3. Gan ZH, Chai XL, Han DJ, Chen YR (2019) A chaotic image encryption algorithm based on 3-D bit-plane permutation. Neural Comput Appl 31:7111–7130

    Google Scholar 

  4. Wen WY, Zhang YS, Fang ZJ, Chen JX (2015) Infrared target-based selective encryption by chaotic maps. Opt Commun 341:131–139

    Google Scholar 

  5. Li CQ, Feng BB, Li SJ, Kurths J, Chen GR (2019) Dynamic analysis of digital chaotic maps via state-mapping networks. IEEE Trans Circuits-I 66:2322–2335

    MathSciNet  MATH  Google Scholar 

  6. Fridrich J (1998) Symmetric ciphers based on two-dimensional chaotic maps. Int J Bifurcat Chaos 8(6):1259–1284

    MathSciNet  MATH  Google Scholar 

  7. Maddodi G, Awad A, Awad D, Awad M, Lee B (2018) A new image encryption algorithm based on heterogeneous chaotic neural network generator and DNA encoding. Multimed Tools Appl 77(19):24701–24725

    Google Scholar 

  8. Niyat AY, Moattar MH, Torshiz MN (2017) Color image encryption based on hybrid hyper-chaotic system and cellular automata. Opt Lasers Eng 90:225–237

    Google Scholar 

  9. Wang XY, Liu CM (2017) A novel and effective image encryption algorithm based on chaos and DNA encoding. Multimed Tools Appl 76(5):6229–6245

    Google Scholar 

  10. Wen WY, Wei KK, Zhang YS, Fang YM, Li M (2020) Colour light field image encryption based on DNA sequences and chaotic systems. Nonlinear Dyn 99:1587–1600

    Google Scholar 

  11. Girdhar A, Kumar V (2018) A RGB image encryption technique using Lorenz and Rossler chaotic system on DNA sequences. Multimed Tools Appl 77(20):27017–27039

    Google Scholar 

  12. Rehman AU, Liao XF (2019) A novel robust dual diffusion/confusion encryption technique for color image based on chaos, DNA and SHA-2. Multimed Tools Appl 78(2):2105–2133

    Google Scholar 

  13. Akhavan A, Samsudin A, Akhshani A (2017) Cryptanalysis of an image encryption algorithm based on DNA encoding. Opt Laser Technol 95:94–99

    Google Scholar 

  14. Huo DM, Zhou DF, Yuan S, Yi SL, Zhang LZ, Zhou X (2019) Image encryption using exclusive-OR with DNA complementary rules and double random phase encoding. Phys Lett A 383(9):915–922

    Google Scholar 

  15. Enayatifar R, Abdullah AH, Isnin IF, Altameem A, Lee M (2017) Image encryption using a synchronous permutation-diffusion technique. Opt Lasers Eng 90:146–154

    Google Scholar 

  16. Wu JH, Liao XF, Bo Y (2018) Image encryption using 2D Hénon-Sine map and DNA approach. Signal Process 153:11–23

    Google Scholar 

  17. Sun SL (2018) A novel hyperchaotic image encryption scheme based on DNA encoding, pixel-level scrambling and bit-level scrambling. IEEE Photon J 10(2):7201714

    Google Scholar 

  18. Feng W, He YG (2018) Cryptanalysis and improvement of the hyper-chaotic image encryption scheme based on DNA encoding and scrambling. IEEE Photon J 10(6):7909215

    Google Scholar 

  19. Chai XL, Wu HY, Gan ZH, Han DJ, Zhang YS, Chen YR (2021) An efficient approach for encrypting double color images into a visually meaningful cipher image using 2D compressive sensing. Inf Sci 556:305–340

    MathSciNet  Google Scholar 

  20. Chai XL, Wu HY, Gan ZH, Zhang YS, Chen YR (2020) Hiding cipher-images generated by 2-D compressive sensing with a multi-embedding strategy. Signal Process 171:107525

    Google Scholar 

  21. Chen JX, Chen L, Zhang LY, Zhu ZL (2019) Medical image cipher using hierarchical diffusion and non-sequential encryption. Nonlinear Dyn 96(1):301–322

    Google Scholar 

  22. Su MT, Wen WY, Zhang YS (2014) Security evaluation of bilateral-diffusion based image encryption algorithm. Nonlinear Dyn 77:243–246

    MathSciNet  MATH  Google Scholar 

  23. Zhang W, Wong K, Yu H, Zhu ZL (2013) An image encryption scheme using reverse 2-dimensional chaotic map and dependent diffusion. Commun Nonlinear Sci Numer Simul 18(8):2066–2080

    MathSciNet  MATH  Google Scholar 

  24. Hua ZY, Zhou YC (2017) Design of image cipher using block-based scrambling and image filtering. Inf Sci 396:97–113

    MATH  Google Scholar 

  25. Li TY, Shi JY, Li XS, Wu J, Pan F (2019) Image encryption based on pixel-level diffusion with dynamic filtering and DNA-level permutation with 3D latin cubes. Entropy 21(3):319

    MathSciNet  Google Scholar 

  26. Li XS, Xie ZL, Wu J, Li TY (2019) Image encryption based on dynamic filtering and bit cuboid operations. Complexity 12:1–16

    MATH  Google Scholar 

  27. Rajagopal K, Vaidyanathan S, Karthikeyan A, Srinivasan A (2018) Complex novel 4D memristor hyperchaotic system and its synchronization using adaptive sliding mode control. Alex Eng J 57:683–694

    Google Scholar 

  28. Li CQ, Tan K, Feng BB, Lu JH (2021) The graph structure of the generalized discrete Arnold Cat map. IEEE T Comput. https://doi.org/10.1109/TC.2021.3051387

    Article  Google Scholar 

  29. Kanso A, Ghebleh M (2017) An algorithm for encryption of secret images into meaningful images. Opt Lasers Eng 90:196–208

    Google Scholar 

  30. Chai XL, Gan ZH, Yuan K, Chen YR, Liu XX (2019) A novel image encryption scheme based on DNA sequence operations and chaotic systems. Neural Comput Appl 31:219–237

    Google Scholar 

  31. Arkin J, Hoggatt VE, Straus EG (1976) Systems of magic Latin k-cubes. Can J Math 28:1153–1161

    MathSciNet  MATH  Google Scholar 

  32. Arkin J, Straus EG (1974) Latin k-cubes. Fibonacci Quarterly 12:288–292

    MathSciNet  MATH  Google Scholar 

  33. Xu M, Tian ZH (2019) A novel image cipher based on 3D bit matrix and Latin cubes. Inf Sci 478:1–14

    Google Scholar 

  34. Zhang W, Yu H, Zhao YL, Zhu ZL (2016) Image encryption based on three-dimensional bit matrix permutation. Signal Process 118:36–50

    Google Scholar 

  35. Wu JH, Liao XF, Yang B (2018) Cryptanalysis and enhancements of image encryption based on three-dimensional bit matrix permutation. Signal Process 142:292–300

    Google Scholar 

  36. Li B, Liao XF, Jiang Y (2019) A novel image encryption scheme based on improved random number generator and its implementation. Nonlinear Dyn 95:1781–1805

    MATH  Google Scholar 

  37. Chen JX, Zhang Y, Qi L, Fu C, Xu LS (2018) Exploiting chaos-based compressed sensing and cryptographic algorithm for image encryption and compression. Opt Laser Technol 99:238–248

    Google Scholar 

  38. Liu DD, Zhang W, Yu H, Zhu ZL (2018) An image encryption scheme using self-adaptive selective permutation and inter-intra-block feedback diffusion. Signal Process 151:130–143

    Google Scholar 

  39. Zhou NR, Jiang H, Gong LH, Xie XW (2018) Double-image compression and encryption algorithm based on co-sparse representation and random pixel exchanging. Opt Lasers Eng 110:72–79

    Google Scholar 

  40. Chai XL, Zheng XY, Gan ZH, Chen YR (2020) Exploiting plaintext-related mechanism for secure color image encryption. Neural Comput Appl 32:8065–8088

    Google Scholar 

  41. Zhang XP, Zhao ZM, Wang JY (2014) Chaotic image encryption based on circular substitution box and key stream buffer. Signal Process Image 29:902–913

    Google Scholar 

  42. Chai XL, Zheng XY, Gan ZH, Hua DJ, Chen YR (2018) An image encryption algorithm based on chaotic system and compressive sensing. Signal Process 148:124–144

    Google Scholar 

  43. Li CQ, Zhang Y, Xie EY (2019) When an attacker meets a cipher-image in 2018: a year in review. J Inf Secur Appl 48:102361

    Google Scholar 

  44. Li CQ, Lin DD, Lu JH, Feng H (2018) Cryptanalyzing an image encryption algorithm based on autoblocking and electrocardiography. IEEE Multimed 25:46–56

    Google Scholar 

  45. Zhou LL, Tan F, Yu F (2020) A robust synchronization-based chaotic secure communication scheme with double-layered and multiple hybrid networks. IEEE Syst J 14(2):2508–2519

    Google Scholar 

  46. Erdem Y (2019) A novel chaotic image encryption algorithm based on content-sensitive dynamic function switching scheme. Opt Laser Technol 114:224–239

    Google Scholar 

  47. Jan SK, Jawad A (2019) Chaos based efficient selective image encryption. Multidim Syst Sign P 30(2):943–961

    MathSciNet  MATH  Google Scholar 

  48. Parvin Z, Seyedarabi H, Shamsi M (2014) A new secure and sensitive image encryption scheme based on new substitution with chaotic function. Multimed Tools Appl 75(17):10631–10648

    Google Scholar 

  49. Belazi A, El-Latif AAA, Diaconu AV (2017) Chaos-based partial image encryption scheme based on linear fractional and lifting wavelet transforms. Opt Lasers Eng 88:37–50

    Google Scholar 

  50. Farah MAB, Guesmi R, Kachouri A, Samet M (2020) A novel chaos based optical image encryption using fractional Fourier transform and DNA sequence operation. Opt Laser Technol 121:105777

    MATH  Google Scholar 

  51. Wang H, Wang J, Geng YC, Song Y, Liu JQ (2017) Quantum image encryption based on iterative framework of frequency-spatial domain transforms. Int J Theor Phys 56:3029–3049

    MathSciNet  MATH  Google Scholar 

  52. Aqeel-ur-Rehman X, Liao AK, 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–11266

    Google Scholar 

  53. Natiq H, Saidi MRM, Kilicman A (2018) A new hyperchaotic map and its application for image encryption. Eur Phys J Plus 133:6

    Google Scholar 

  54. Wang XY, Wang Y, Unar S, Wang MX, Wang S (2019) A privacy encryption algorithm based on an improved chaotic system. Opt Lasers Eng 122:335–346

    Google Scholar 

  55. Liu JY, Yang DD, Zhou HB, Chen SQ (2018) A digital image encryption algorithm based on bit-planes and an improved logistic map. Multimed Tools Appl 77(8):10217–10233

    Google Scholar 

  56. Zhou KL, Fan JJ, Fan HJ, Li M (2020) Secure image encryption scheme using double random-phase encoding and compressed sensing. Opt Laser Technol 121:105769

    Google Scholar 

  57. Mahmud M, Atta-ur-Rahman, Lee M, Choi J-Y (2020) Evolutionary-based image encryption using RNA codons truth table. Opt Laser Technol 121:105818

    Google Scholar 

  58. Chai XL, Zhang JT, Gan ZH, Zhang YS (2019) Medical image encryption algorithm based on Latin square and memristive chaotic system. Multimed Tools Appl 78:35419–35453

    Google Scholar 

  59. Huang XL, Ye GD (2014) An image encryption algorithm based on hyper-chaos and DNA sequence. Multimed Tools Appl 72:57–70

    Google Scholar 

  60. Wang XY, Liu LT, Zhang YQ (2015) A novel chaotic block image encryption algorithm based on dynamic random growth technique. Opt Lasers Eng 66:10–18

    Google Scholar 

  61. Wang XY, Zhang YQ, Bao XM (2015) A novel chaotic image encryption scheme using DNA sequence operations. Opt Lasers Eng 73:53–61

    Google Scholar 

  62. Zhou Y, Cao W, Chen CLP (2014) Image encryption using binary bit plane. Signal Process 100(7):197–207

    Google Scholar 

  63. Xu L, Li Z, Li J (2012) A novel bit-level image encryption algorithm based on chaotic maps. Opt Lasers Eng 78(21):17–25

    Google Scholar 

Download references

Acknowledgements

All the authors are deeply grateful to the editors for smooth and fast handling of the manuscript. The authors would also like to thank the anonymous referees for their valuable suggestions to improve the quality of this paper. This work is supported by the National Natural Science Foundation of China (Grant No. 61802111, 61872125, 61871175), Science and Technology Foundation of Henan Province of China (Grant No. 182102210027, 182102410051), Key Scientific Research Projects for Colleges and Universities of Henan Province (Grant No. 19A413001), Natural Science Foundation of Henan (Grant No. 182300410164), Graduate Education Innovation and Quality Improvement Project of Henan University (Grant No. SYL18020105), and Henan Higher Education Teaching Reform Research and Practice Project (Graduate Education) (Grant No. 2019SJGLX080Y).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Wenke Ding, Yang Lu or Xiangjun Wu.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Gan, Z., Chai, X., Zhi, X. et al. Image cipher using image filtering with 3D DNA-based confusion and diffusion strategy. Neural Comput & Applic 33, 16251–16277 (2021). https://doi.org/10.1007/s00521-021-06225-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-021-06225-x

Keywords

Navigation