Abstract
This paper presents an image encryption algorithm based on dynamic S-box. Encryption algorithm includes four stages: generation of encryption keys, the construction of the S-box, image permutation and image diffusion. The encryption keys are generated by the initial keys and the grey-scale values of the image. The generated encryption keys are used as the initial values and control parameters of the 2D Logistic-Sine-Coupling Map (2D-LACM) and the Logistic Map. And these two chaotic maps are iterated to generate two key sequences and one key sequence, respectively. The construction of S-box is to use the key sequence generated by Logistic map to get a 16 × 16 random matrix with values from 0 to 255 and non-duplicate values. And the idea of confusion is applied to the construction of S-box. The S-box is obtained by using two key sequences generated by 2D-LACM to confuse the matrix. In the permutation phase, the pixel points in the image are first traversed in a random order according to the first key sequence generated by the iterative 2D-LACM, and then each pixel is replaced by the traversal sequence. In the diffusion phase, the permuted image is traversed in the same traversal order as described above, and the result of the traversal is XOR operated with the second key sequence of 2D-LACM. The XOR result is then replaced once by an S-box to get the final encrypted image. The simulation results and security analysis show that the algorithm has high encryption efficiency. It has good key space and can resist various attacks effectively.
Similar content being viewed by others
References
Shannon CE (1949) Communication theory of secrecy systems. Bell Syst Techn J 28(4):656–715
Moatsum A et al (2019) A new hybrid digital chaotic system with applications in image encryption. Signal Process 160:45–48
Kumar CM, Vidhya R, Brindha M (2021) An efficient chaos based image encryption algorithm using enhanced thorp shuffle and chaotic convolution function. Appl Intell. https://doi.org/10.1007/s10489-021-02508-x
Chai XL et al (2019) A novel image encryption scheme based on DNA sequence operations and chaotic systems. Neural Comput Appl 31(1):219–237
Vidhya R, Brindha M, Gounden AN (2020) Analysis of zig-zag scan based modified feedback convolution algorithm against differential attacks and its application to image encryption. Appl Intell 50:3101–3124
Chen JX, Zhu ZL, Fu C et al (2015) An image encryption scheme using nonlinear inter-pixel computing and swapping based permutation approach. Commun Nonlinear Sci Numer Simul 23(1–3):294–310
Teng L, Wang X, Meng J (2018) A chaotic color image encryption using integrated bit-level permutation. Multimed Tools Appl 77:883–6896
Zhang Y, Tang Y (2018) A plaintext-related image encryption algorithm based on chaos. Multimed Tools Appl 77:6647–6669
Alhadawi HS, Majid MA, Lambi D et al (2021) A novel method of S-box design based on discrete chaotic maps and cuckoo search algorithm. Multimed Tools Appl 80:7333–7350
Manjula G, Mohan H (2016) Constructing key dependent dynamic S-box for AES block cipher system. 2016 2nd international conference on applied and theoretical computing and communication technology (iCATccT) 613–617. https://doi.org/10.1109/ICATCCT.2016.7912073
Wang TT, Zhang C (2017) Image encryption algorithm based on Diophantus model and dynamic S box. Comput Eng Design 38(10):3678–3685 (in Chinese)
Zhu CX, Wang GJ, Sun KH (2018) Cryptanalysis and improvement on an image encryption algorithm design using a novel Chaos based S-box. Symmetry 10(9). https://doi.org/10.3390/sym10090399
Uis J, Ugalde E, Salazar G (1998) A cryptosystem based on cellular automata. Chaos 8(4):819–822
Wang XY, Yang JJ (2020) A novel image encryption scheme of dynamic S-boxes and random blocks based on spatiotemporal chaotic system. Optik:217. https://doi.org/10.1016/j.ijleo.2020.164884
Farah MAB, Farah A, Farah T (2019) An image encryption scheme based on a new hybrid chaotic map and optimized substitution box. Nonlinear Dynamics 99:3041–3064
Farah A, Belazi A (2018) A novel chaotic Jaya algorithm for unconstrained numerical optimization. Nonlinear Dynamics 93:1451–1480
Wang X et al (2019) S-box based image encryption application using a chaotic system without equilibrium. Appl Sci 9(4). https://doi.org/10.3390/app9040781
Arslan S, Ahmed J (2021) Dynamic substitution based encryption algorithm for highly correlated data. Multidim Syst Sign Process 32:91–114
Liu HJ et al (2018) Chaos based adaptive double-image encryption scheme using hash function and S-boxes. Multimed Tools Appl 77:1391–1407
Idrees B et al (2020) Image encryption algorithm using S-box and dynamic Hénon bit level permutation. Multimed Tools Appl 79:6135–6162
Wang Y, Li A, Wang SQ et al (2020) Image encryption algorithm based on the combination of CNN and traditional S box. Electro-Optical and Control 28(3):34–38, 57
Liu H, Zhao B, Huang L (2019) Quantum image encryption scheme using Arnold transform and S-box scrambling. Entropy 21(4). https://doi.org/10.3390/e21040343
Hua ZY et al (2018) 2D logistic-sine-coupling map for image encryption. Signal Process 149:148–161
Cassal-Quiroga BB, Campos-Cantón E (2020) Geration of dynamical S-boxes for block ciphers via extended logistic map. Math Probl Eng. https://doi.org/10.1155/2020/2702653
Webster AF, Tavares SE (1986) On the Design of S-Boxes. In: Williams H.C. (eds) Advances in Cryptology — CRYPTO ‘85 Proceedings. CRYPTO 1985. Lecture notes in computer science, vol 218. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-39799-X_41
Adams C, Tavares S (1990) The structured design of cryptographically good S-boxes. J Cryptol 3:27–41
Ahmed HA, Zolkipli MF, Ahmad M (2018) A novel efficient substitution-box design based on firefly algorithm and discrete chaotic map. Neural Comput Applic 31:7201–7210
Al Solami E, Ahmad M, Volos C, Doja M, Beg M (2018) A new hyperchaotic system-based design for efficient bijective substitution-boxes. Entropy 20(7). https://doi.org/10.3390/e20070525
Khan M, Asghar Z (2018) A novel construction of substitution box for image encryption applications with Gingerbreadman chaotic map and S 8 permutation. Neural Comput Applic 29:993–999
Belazi A, AAA E-L, Belghith S (2016) A novel image encryption scheme based on substitution-permutation network and chaos. Signal Process 128(155–170)
Conflict of interest
The authors declare that they have no conflicts of interest.
Author information
Authors and Affiliations
Corresponding author
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
Zheng, J., Zeng, Q. An image encryption algorithm using a dynamic S-box and chaotic maps. Appl Intell 52, 15703–15717 (2022). https://doi.org/10.1007/s10489-022-03174-3
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10489-022-03174-3