Skip to main content
Log in

Bit-level image encryption algorithm based on BP neural network and gray code

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

In recent years, people have put forward various image encryption algorithms based on pixel level. In fact, bit level encryption has better effect than pixel level encryption. Therefore, this paper proposes a new bit-level image encryption algorithm based on Back Propagation (BP) neural network and Gray code. Firstly, the plaintext image is conversioned into binary image, then, the hyperchaotic Lorentz system is used to generate two sets of chaotic sequences for the Gray code bit-level permutation operation to generate the permutation matrix. Secondly, the permutation matrix is converted into a bit matrix reverse order output to generate a diffusion matrix. Finally, the algorithm uses a BP neural network composed of Logistic map and Piece-Wise Linear Chaotic (PWLCM) map to generate a key stream. The key stream is xored with the diffusion matrix to generate a ciphertext matrix. The experimental results show that the algorithm improves the encryption efficiency, has good security and can resist common attack methods.

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

Similar content being viewed by others

References

  1. Ahmad M, Alam MZ et al Cryptanalysis of an image encryption algorithm based on PWLCM and inertial delayed neural network. J Intell Fuzzy Syst Appl Eng Technol 34(3):1323–1332

  2. Alawida M, Samsudin A, Sen TJ et al (2019) A new hybrid digital chaotic system with applications in image encryption. Signal Process 160:45–58

    Article  Google Scholar 

  3. Gan ZH, Chai XL, Yuan K et al (2018) A novel image encryption algorithm based on LFT based S-boxes and chaos. Multimed Tools Appl 77(7):8759–8783

    Article  Google Scholar 

  4. Gao H, Zeng W (2019) Image compression and encryption based on wavelet transform and chaos. Comput Opt 43(2):258–263

    Article  Google Scholar 

  5. Han CY (2019) An image encryption algorithm based on modified logistic chaotic map. Optik 181:779–785

    Article  Google Scholar 

  6. Kumar M, Iqbal A, Kumar P (2016) A new RGB image encryption algorithm based on DNA encoding and elliptic curve Diffie–Hellman cryptography. Signal Process 125:187–202

    Article  Google Scholar 

  7. Liu HJ, Kadir A, Sun XB et al (2018) Chaos based adaptive double-image encryption scheme using hash function and S-boxes. Multimed Tools Appl 77(1):1391–1407

    Article  Google Scholar 

  8. Lv XP, Liao XF, Yang B (2018) Bit-level plane image encryption based on coupled map lattice with time-varying delay. Mod Phys Lett B 32(10):1850124

    Article  MathSciNet  Google Scholar 

  9. 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

    Article  Google Scholar 

  10. May RM (1976) Simple mathematical models with very complicated dynamics. Nature 261(5560):459–467

    Article  Google Scholar 

  11. Pak C, An K, Jang P, Kim J, Kim S (2019) A novel bit-level color image encryption using improved 1D chaotic map. Multimed Tools Appl 78(9):12027–12042

    Article  Google Scholar 

  12. Ratnavelu K, Kalpana M, Balasubramaniam P, Wong K, Raveendran P (2017) Image encryption method based on chaotic fuzzy cellular neural networks. Signal Process 140:87–96

    Article  Google Scholar 

  13. Sokouti M, Sokouti B (2018) A PRISMA-compliant systematic review and analysis on color image encryption using DNA properties. Comput Sci Rev 29:14–20

    Article  Google Scholar 

  14. 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 

  15. Tang Y, Wang ZD, Fang JA (2010) Image encryption using chaotic coupled map lattices with time-varying delays. Commun Nonlinear Sci Numer Simul 15(9):2456–2468

    Article  MathSciNet  Google Scholar 

  16. Teng L, Wang XY (2012) A bit-level image encryption algorithm based on spatiotemporal chaotic system and self-adaptive. Opt Commun 285(20):4048–4054

    Article  Google Scholar 

  17. Wang XY, Gao S (2020) Image encryption algorithm for synchronously updating Boolean networks based on matrix semi-tensor product theory. Inf Sci 507:16–36

    Article  MathSciNet  Google Scholar 

  18. Wang XY, Gao S (2020) Image encryption algorithm based on the matrix semi-tensor product with a compound secret key produced by a Boolean network. Inf Sci 539:195–214

    Article  MathSciNet  Google Scholar 

  19. Wang XY, Jin CQ (2012) Image encryption using game of life permutation and PWLCM chaotic system. Opt Commun 285(4):412–417

    Article  Google Scholar 

  20. Wang X, Li Z (2019) A color image encryption algorithm based on Hopfield chaotic neural network. Opt Lasers Eng 115:107–118

    Article  Google Scholar 

  21. Wang XY, Wang MJ (2007) Hyperchaotic Lorenz system. Acta Phys Sin 56(9):5136–5141

    MathSciNet  MATH  Google Scholar 

  22. Wang XY, Feng L, Zhao HY (2019) Fast image encryption algorithm based on parallel computing system. Inf Sci 486:340–358

    Article  Google Scholar 

  23. Wang XY, Zhao HY, Feng L et al (2019) High-sensitivity image encryption algorithm with random diffusion based on dynamic-coupled map lattices. Opt Lasers Eng 122:225–238

    Article  Google Scholar 

  24. Wang XY, Zhao HY, Wang MX (2019) A new image encryption algorithm with nonlinear-diffusion based on Multiple coupled map lattices. Opt Laser Technol 115:42–57

    Article  Google Scholar 

  25. Wang XY, Zhang JJ, Cao GH (2019) An image encryption algorithm based on ZigZag transform and LL compound chaotic system. Opt Laser Technol 119:105581

    Article  Google Scholar 

  26. Wang XY, Zhang JJ, Zhang FC, Cao GH (2019) New chaotical image encryption algorithm based on fisher–Yatess scrambling and DNA coding. Chin Phys B 28(4):040504

    Article  Google Scholar 

  27. Wei T, Lin P, Wang Y, Wang L (2019) Stability of stochastic impulsive reaction–diffusion neural networks with S-type distributed delays and its application to image encryption. Neural Netw 116:35–45

    Article  Google Scholar 

  28. Wu JH, Liao XF, Yang B (2017) Color image encryption based on chaotic systems and elliptic curve ElGamal scheme. Signal Process 141:109–124

    Article  Google Scholar 

  29. Wu XJ, Kurths J, Kan HB (2018) A robust and lossless DNA encryption scheme for color images. Multimed Tools Appl 77(10):12349–12376

    Article  Google Scholar 

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

    Article  Google Scholar 

  31. Younas I, Khan M (2018) A New Efficient Digital Image Encryption Based on Inverse Left Almost Semi Group and Lorenz Chaotic System. Entropy 20(12):913

    Article  Google Scholar 

  32. Zhang YQ, Wang XY (2015) A new image encryption algorithm based on non-adjacent coupled map lattices. Appl Soft Comput 26:10–20

    Article  Google Scholar 

  33. Zhang YS, Xiao D (2014) An image encryption scheme based on rotation matrix bit-level permutation and block diffusion. Commun Nonlinear Sci Numer Simul 19(1):74–82

    Article  Google Scholar 

  34. Zhang YQ, Wang XY, Liu J, Chi ZL (2016) An image encryption scheme based on the MLNCML system using DNA sequences. Opt Lasers Eng 82:95–103

    Article  Google Scholar 

  35. Zhang LM, Sun KH, Liu WH, He SB (2017) A novel color image encryption scheme using fractional-order hyperchaotic system and DNA sequence operations. Chin Phys B 26(10):100504

    Article  Google Scholar 

  36. Zhang XP, Guo R, Chen HW, Zhao ZM, Wang JY (2018) Efficient image encryption scheme with synchronous substitution and diffusion based on double S-boxes. Chin Phys B 27(8):080701

    Article  Google Scholar 

  37. Zhou NR, Chen WW, Yan XY et al (2018) Bit-level quantum color image encryption scheme with quantum cross-exchange operation and hyper-chaotic system. Quantum Inf Process 17(6):137

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgments

This research is supported by the National Natural Science Foundation of China (No: 61672124), the Password Theory Project of the 13th Five-Year Plan National Cryptography Development Fund (No: MMJJ20170203), Liaoning Province Science and Technology Innovation Leading Talents Program Project (No: XLYC1802013), Key R&D Projects of Liaoning Province (No: 2019020105-JH2/103), Jinan City ‘20 universities’ Funding Projects Introducing Innovation Team Program (No: 2019GXRC031).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xingyuan Wang.

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

Wang, X., Lin, S. & Li, Y. Bit-level image encryption algorithm based on BP neural network and gray code. Multimed Tools Appl 80, 11655–11670 (2021). https://doi.org/10.1007/s11042-020-10202-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-020-10202-2

Keywords

Navigation