Abstract
Design principles for image encryption schemes abound in the literature. Among these schemes, few were built upon the philosophy of swapping of the pixels in the given input image. Swapping is a very straightforward and a naïve approach for image scrambling. We believe that fuller potential of swapping has not been realized yet. In this work, a novel image encryption scheme is being presented through the swapping of pixel values of the given gray scale input image. The 5D multi-wing hyperchaotic system rendering five key streams of random numbers have been used in the proposed cipher. After the gray scale image is input, its pixels are swapped randomly. The random numbers given through the first two key streams jointly determine the address of the first pixel to be swapped with the second pixel whose address is determined by the random numbers given through the third and fourth key streams. In this way, the pixels of the given image are swapped abundantly. The selection of both the pixels for swapping is purely arbitrary and random in character having no restriction of linearity and sequentiality as was done by other schemes previously. To create the diffusion effects, an XOR operation is carried out between this scrambled image and the key image formed through the fifth stream of random numbers given by the chaotic system. SHA-384 hash codes have been used in the proposed scheme to embed the plaintext sensitivity. The simulation and the extensive security analyses carried out at the end expressly portray the good security effects and the potential for the real world application of the reported scheme.
Similar content being viewed by others
References
Babaei M (2013) A novel text and image encryption method based on chaos theory and DNA computing. Nat Comput 12(1):101–107
Bashir Z, Rashid T, Zafar S (2016) Hyperchaotic dynamical system based image encryption scheme with time-varying delays. Pacific Science Review A: Natural Science and Engineering 18(3):254–260
Boriga R, Dăscălescu AC, Priescu I (2014) A new hyperchaotic map and its application in an image encryption scheme. Signal Process Image Commun 29(8):887–901
Chai X, Fu X, Gan Z, Lu Y, Chen Y (2019) A color image cryptosystem based on dynamic DNA encryption and chaos. Signal Process 155:44–62
Chai X, Gan Z, Zhang M (2017) A fast chaos-based image encryption scheme with a novel plain image-related swapping block permutation and block diffusion. Multimedia Tools and Applications 76(14):15561–15585
Chen L, Ma B, Zhao X, Wang S (2017) Differential cryptanalysis of a novel image encryption algorithm based on chaos and Line map. Nonlinear Dynamics 87(3):1797–1807
Chen G, Mao Y, Chui CKA (2004) Symmetric image encryption scheme based on 3D chaotic cat maps. Chaos. Solitons & Fractals 21(3):749–761
Chen JX, Zhu ZL, Fu C, Yu H (2013) An improved permutation-diffusion type image cipher with a chaotic orbit perturbing mechanism. Opt Express 21(23):27873–27890
Chen JX, Zhu ZL, Fu C, Yu H (2014) A fast image encryption scheme with a novel pixel swapping-based confusion approach. Nonlinear Dynamics 77 (4):1191–1207
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–93
Floating-Point Working Group (1985) IEEE Computer society: IEEE standard for binary floating-point arithmetic, Standard, pp 754–1985
Fu C, Zhao GY, Gao M, Ma HF (2013) A chaotic symmetric image cipher using a pixel-swapping based permutation. In: 2013 IEEE international conference of IEEE Region 10 (TENCON 2013), IEEE, pp 1–6
Hanif M, Naqvi RA, Abbas S, Khan MA, Iqbal N (2020) A novel and efficient 3D multiple images encryption scheme based on chaotic systems and swapping operations. IEEE Access 8:123536–123555
Hoang TM, Thanh HX (2018) Cryptanalysis and security improvement for a symmetric color image encryption algorithm. Optik 155:366–383
Jain A, Rajpal N (2016) A robust image encryption algorithm resistant to attacks using DNA and chaotic logistic maps. Multimedia Tools and Applications 75(10):5455–5472
Kulsoom A, Xiao D, Abbas SA (2016) An efficient and noise resistive selective image encryption scheme for gray images based on chaotic maps and DNA complementary rules. Multimedia Tools and Applications 75(1):1–23
Li S, Chen G, Mou X (2005) On the dynamical degradation of digital piecewise linear chaotic maps. International Journal of Bifurcation and Chaos 15 (10):3119–3151
Li S, Li C, Chen G, Zhang D, Bourbakis NG (2004) A general cryptanalysis of permutation-only multimedia encryption algorithms. IACR’s Cryptology ePrint Archive: Report 374:2004
Li C, Lo KT (2011) Optimal quantitative cryptanalysis of permutation-only multimedia ciphers against plaintext attacks. Signal process 91(4):949–954
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–246
Liao X, Hahsmi MA, Haider R (2018) An efficient mixed inter-intra pixels substitution at 2bits-level for image encryption technique using DNA and chaos. Optik-International Journal for Light and Electron Optics 153:117–134
Liao X, Kulsoom A, Ullah S (2016) A modified (Dual) fusion technique for image encryption using SHA-256 hash and multiple chaotic maps. Multimedia Tools and Applications 75(18):11241–11266
Liu H, Wang X (2011) Color image encryption using spatial bit-level permutation and high-dimension chaotic system. Opt Commun 284(16-17):3895–3903
Liu H, Wang X, Kadir A (2013) Color image encryption using Choquet fuzzy integral and hyper chaotic system. Optik-International Journal for Light and Electron Optics 124(18):3527–3533
Mirzaei O, Yaghoobi M, Irani H (2012) A new image encryption method: parallel sub-image encryption with hyper chaos. Nonlinear Dynamics 67 (1):557–566
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
Norouzi B, Mirzakuchaki S (2014) A fast color image encryption algorithm based on hyper-chaotic systems. Nonlinear Dynamics 78(2):995–1015
Özkaynak F, Özer AB (2016) Cryptanalysis of a new image encryption algorithm based on chaos. Optik 127(13):5190–5192
Öztürk İ, Kiliç R (2014) Cycle lengths and correlation properties of finite precision chaotic maps. International Journal of Bifurcation and Chaos 24 (09):1450107
Parvees MM, Samath JA, Bose BP (2016) Secured medical images-a chaotic pixel scrambling approach. J Med Syst 40(11):232
Parvin Z, Seyedarabi H, Shamsi M (2016) A new secure and sensitive image encryption scheme based on new substitution with chaotic function. Multimedia Tools and Applications 75(17):10631– 10648
Shannon CE (1949) Communication theory of secrecy systems. Bell System Technical Journal 28(4):656–715
Song CY, Qiao YL, Zhang XZ (2013) An image encryption scheme based on new spatiotemporal chaos. Optik-International Journal for Light and Electron Optics 124(18):3329–3334
Sun S, Guo Y, Wu R (2019) A novel image encryption scheme based on 7D hyperchaotic system and row-column simultaneous swapping. IEEE Access 7:28539–28547
Taneja N, Raman B, Gupta I (2012) Combinational domain encryption for still visual data. Multimedia Tools and Applications 59(3):775–793
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–299
Wong KW, Kwok BSH, Yuen CH (2009) An efficient diffusion approach for chaos-based image encryption. Chaos Solitons & Fractals 41(5):2652–2663
Wu J, Liao X, Yang B (2018) Cryptanalysis and enhancements of image encryption based on three-dimensional bit matrix permutation. Signal Process 142:292–300
Xiong Z, Wu Y, Ye C, Zhang X, Xu F (2019) Color image chaos encryption algorithm combining CRC and nine palace map. Multimedia Tools and Applications 78(22):31035–31055
Xiong Z, Wu Y, Ye C, Zhang X, Xu F (2019) Color image chaos encryption algorithm combining CRC and nine palace map. Multimedia Tools and Applications, pp 1–21
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
Ye R, Xi Y, Ma Y (2016) A chaotic image encryption scheme using swapping based confusion approach. In: 2016 First IEEE international conference on computer communication and the internet (ICCCI), IEEE, pp 374-377
Zhang Q, Liu L, Wei X (2014) Improved algorithm for image encryption based on DNA encoding and multi-chaotic maps. AEU-International Journal of Electronics and Communications 68(3):186–192
Zhang YQ, Wang XY (2014) A symmetric image encryption algorithm based on mixed linear–nonlinear coupled map lattice. Inf Sci 273:329–351
Zhang W, Wong KW, Yu H, Zhu ZL (2013) A symmetric color image encryption algorithm using the intrinsic features of bit distributions. Commun Nonlinear Sci Numer Simul 18(3):584–600
Zhang W, Yu H, Zhao YL, Zhu ZL (2016) Image encryption based on three-dimensional bit matrix permutation. Signal Process 118:36–50
Zhen P, Zhao G, Min L, Jin X (2016) Chaos-based image encryption scheme combining DNA coding and entropy. Multimedia Tools and Applications 75(11):6303–6319
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–157
Zhu C (2012) A novel image encryption scheme based on improved hyperchaotic sequences. Opt Commun 285(1):29–37
Zhu ZL, Zhang W, Wong KW, Yu H (2011) A chaos-based symmetric image encryption scheme using a bit-level permutation. Inf Sci 181(6):1171–1186
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interests
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
About this article
Cite this article
Bashir, Z., Iqbal, N. & Hanif, M. A novel gray scale image encryption scheme based on pixels’ swapping operations. Multimed Tools Appl 80, 1029–1054 (2021). https://doi.org/10.1007/s11042-020-09695-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-020-09695-8