Skip to Content
EntropyEntropy
  • Article
  • Open Access

5 May 2023

22 Pages

Fast and Secure Image Encryption Algorithm with Simultaneous Shuffling and Diffusion Based on a Time-Delayed Combinatorial Hyperchaos Map

,
,
,
,
and
1
Gansu Computing Center, Lanzhou 730030, China
2
College of Information Science and Engineering, Lanzhou University, Lanzhou 730030, China
3
Lanzhou Tobacco Company of Gansu Company, Lanzhou 730030, China
*
Author to whom correspondence should be addressed.

Abstract

Adding time delay to nonlinear systems can significantly improve their performance, making it possible to construct image-encryption algorithms with higher security. In this paper, we propose a time-delayed nonlinear combinatorial hyperchaotic map (TD-NCHM) with a wide hyperchaotic interval. Based on TD-NCHM, we develop a fast and secure image-encryption algorithm that includes a plaintext-sensitive key-generation method and a simultaneous row-column shuffling-diffusion encryption process. Plenty of experiments and simulations demonstrate the superiority of the algorithm in terms of efficiency, security, and practical value in secure communications.

1. Introduction

With the rapid development of modern communication and computer technologies, open channel-based communication is widely used in the multimedia-information exchange process. Digital images are a crucial means of conveying multimedia information, and ensuring the security of image data during transmission and storage has garnered significant attention. One effective approach is to encrypt the image at the beginning of transmission and then decrypt it upon acceptance, which can prevent unauthorized access to the original data [1]. However, compared to text files, digital images contain more repeated and closely related data. As a result, algorithms suitable for encrypting text messages, such as DES, AES and RSA, perform poorly when encrypting images. Chaotic systems are characterized by being pseudo-random, sensitive to initial state, unpredictable on trajectory, interval traversal and bounded. These non-linear properties make chaotic systems inherently connected with cryptography. In 1998, J. Fridrich [2] first applied chaotic systems to digital image encryption and proposed the classical image-encryption algorithm with a shuffling-diffusion structure. Since then, chaotic image encryption has received increasing attention from researchers.
Chaotic image-encryption algorithms use two types of chaotic systems: continuous chaos systems and discrete chaos systems. Among these, discrete chaos systems are more suitable for image encryption due to their simplicity, ease of circuit implementation, and low computational complexity [3]. However, some of them are vulnerable to attacks and destruction due to these characteristics. In a study conducted by Arroyo et al. [4], an estimation was made of the trajectories of a one-dimensional chaotic map. The results of their investigation provided compelling evidence that encryption algorithms based on this map are susceptible to security breaches. Similarly, reference [5] reported hidden security problems in the logistic map-based algorithm proposed in [6]. As a result of these security flaws in one-dimensional chaotic systems, researchers have attempted to develop encryption algorithms based on more robust chaotic maps. For example, Zheng et al. [7] proposed an improved cascaded chaotic map 2D-CLSM and a novel encryption scheme based on it and an S-box which is capable of meeting encryption requirements. Furthermore, in reference [8], a universal two-dimensional enhanced cosine coupled model (2D-ECCM) was introduced, which can be used to create new 2D chaotic systems using most of the existing two one-dimensional maps. Using this model, two 2D chaotic systems with better performance were constructed. In addition, Hu et al. [9] designed a 2D-SFCF system by combining two one-dimensional cosine fractional (1-DCFs) systems. It exhibits more complex chaotic behavior and a larger parameter space than 1D chaotic systems, while having a simpler structure than 2D chaotic systems.
Shuffling-diffusion is a typical structure used in chaotic image-encryption algorithms [10,11]. Block image encryption is a process that involves dividing a digital image into sub-blocks with the same number of pixels and then shuffling and diffusing these sub-blocks as a whole. This method is faster than pixel-and-bit encryption algorithms due to its block-level encryption operations, which have less time complexity. Researchers have proposed various techniques to improve the efficiency and security of these algorithms [12]. For example, Zhu et al. [13] developed a fast image encryption that takes the image row (column) as the cyclic encryption unit, and the time overhead is greatly reduced compared with the algorithm taking the pixel as the encryption unit. Xu L [14] presented a new chaotic image-encryption algorithm with a block-image shuffling process and a dynamic index-based diffusion process. This algorithm achieved improvements in efficiency and complexity, but the keystream is not associated with plaintext pixels. Liu W et al. [15] proposed a two-dimensional sinusoidal modulation map (2D-SIMM) with good ergodicity, hyperchaotic behavior, large maximum Lyapunov exponent and high complexity. Based on this map, they combined the shuffling and diffusion processes and proposed a fast image-encryption algorithm that shuffles rows and columns simultaneously. The algorithm is efficient, but the keystream used in the shuffling process is not associated with the plaintext pixels.
The above discussion clearly shows that despite the relatively fast encryption and decryption capabilities of block chaotic image-encryption algorithms, there are still some noticeable problems. First of all, the dynamic properties of the chaotic systems employed in these algorithms are not complex enough. In particular, the discrete or continuous chaotic systems used in these algorithms have narrow hyperchaotic intervals and periodic windows, resulting in shortcomings such as small key space and insufficient randomness. Another drawback is that the keystream used in these encryption algorithms is not inextricably linked to the plaintext, and, thus, cannot effectively thwart selected plaintext attacks. Finally, different mixed-state sequences are used in the shuffling and diffusion phases, which, in turn, leads to a reduction in the usage rate and an increase in the computational complexity and memory footprint of the algorithm.
To address the above problems, this paper designs a time-delayed nonlinear combinatorial hyperchaotic map (TD-NCHM for short) and then presents a fast plaintext-based image-encryption method with simultaneous shuffling and diffusion. The advantages of this method are remarkable. First, TD-NCHM has wider hyperchaotic intervals and complex dynamics without period windows, which can generate random sequences for image-encryption algorithms. Second, the encryption algorithm combines the shuffling and diffusion of rows and columns into a single phase. In particular, the position transformation information of the algorithm is dynamically correlated with the plaintext, which enables the encryption algorithm to effectively resist plaintext attacks. Additionally, this algorithm is capable of fulfilling the encryption requirement with a single round of encryption, thereby significantly reducing its computational complexity. The ability to achieve strong encryption in a single round of computation has important implications for the practical implementation of the algorithm in real-world scenarios, where computational efficiency is a critical factor. By streamlining the encryption process, this algorithm has the potential to offer improved performance compared to conventional encryption methods that require multiple rounds of computation to achieve the same level of security.
The rest of this paper is organized as follows: The TD-NCHM is proposed in Section 2, and its chaotic properties are analyzed and compared with existing chaotic models using bifurcation diagram, trajectory diagrams, Lyapunov exponents, permutation entropy, and the NIST-800-22 test. Section 3 provides a detailed description of the image-encryption algorithm. Additionally, the simulated result of the algorithm is analyzed in Section 4. To conclude this paper, a summary of the results can be found in Section 5.

2. A Time-Delayed Nonlinear Combinatorial Hyperchaotic Map

Based on the nonlinear combinatorial map proposed by Zhou Y et al. [16], a new nonlinear combinatorial hyperchaotic model is proposed by adding time delay. The structure of the TD-NCHM model is shown in Figure 1, and the mathematical expression of the model is shown in Equation (1).
x n + 1 = m o d F x n + r × x n − 1 + L x n + r × x n − 1 , 1
Figure 1. Structure of the TD-NCHM model.
The TD-NCHM is constructed based on the one-dimensional chaotic maps F ( . ) and L ( . ) , where the function m o d ( x , 1 ) represents the remainder of x divided by 1, and the parameter r represents the feedback strength of the time delay. By selecting different one-dimensional chaotic maps for F ( . ) , L ( . ) and altering the feedback strength of the time delay, different chaotic maps can be generated.
In this paper, we chose the one-dimensional logistic map as L ( . ) , the one-dimensional Feigenbaum map as F ( . ) for constructing the TD-NCHM with a first-order time delay, and its expression is shown in Equation (2):
x n + 1 = m o d μ x n + r × x n − 1 1 − x n − r × x n − 1 + sin π x n + r × x n − 1 , 1
where x n ∈ ( 0 , 1 ) is output, and μ ∈ [ 0 , 20 ] , r ∈ [ 0 , 20 ] are the control parameters.
To explore the chaotic performance of TD-NCHM, this paper evaluates it using a bifurcation diagram, trajectory diagram, Lyapunov exponent [17], permutation entropy [18] and NIST-800-22 test [19], and compares it with some recent 2D chaotic systems, such as the Cross 2D hyperchaotic map system (C2HM) [20] and the 2D hyperchaotic map system (2D-HM) [21].
The chaotic system of C2HM is shown in Equation (3).
x n + 1 = sin α sin y n y n + 1 = β sin π x n + y n
where with its control parameter α ≠ 0 , β ∈ 0 , 1 , the initial value y 0 ≠ 0 , the system acquires the best chaotic performance at a ∈ 0 , 2 and β ∈ 0 , 1 .
The chaotic system of 2D-HM is shown in Equation (4).
x n = sin h π sin y n − 1 y n = r sin π x n − 1 y n − 1
where h and r are system parameters and the system acquires the best chaotic performance at h ∈ 0 , 7 and r ∈ 0 , 6 .

2.1. Bifurcation Diagram Analysis

Bifurcation is a phenomenon in which a dynamic system exhibits a sudden response triggered by a continuous change in one of its parameters, resulting in a change in its motion properties. As the system undergoes continuous bifurcation, it enters a chaotic state from a periodic state. The bifurcation diagram serves to demonstrate the range of parameters in which the system exists in a chaotic state.
In this paper, we present the bifurcation diagrams of three chaotic systems as the control parameter increases, as shown in Figure 2. The results indicate that the TD-NCHM demonstrates unique bifurcation features for both output variables across the entire range of parameters. On the other hand, C2HM and 2D-HM exhibit distinct periodic states and uneven distributions in a narrow parameter range. Thus, it is evident that the chaotic range of TD-NCHM possesses the widest coverage, the most extensive and uniform distribution within its parameter range, and the best chaotic performance.
Figure 2. The bifurcation diagrams of chaotic systems. (a) The bifurcation diagram of x n in TD-NCHM with μ = 4 , r = 0 , 20 . (b) The bifurcation diagram of y n in TD-NCHM with μ = 4 , r = 0 , 20 . (c) The bifurcation diagram of x n in C2HM with α = 0 , 2 , β = 1 . (d) The bifurcation diagram of x n in 2D-HM with h = 0 , 7 , r = 5 .

2.2. Trajectory Analysis

Trajectory plots are a widely used tool for analyzing the behavior of dynamical systems by visualizing the distribution of their state variables over time. For chaotic systems, the range of the trajectory distribution in a finite domain provides insight into the underlying dynamics of the system. In particular, the width and uniformity of the distribution indicate the dispersion of the chaotic sequence and the strength of the nonlinear effects.
From Figure 3, it can be observed that the state trajectories of TD-NCHM exhibit a high degree of uniformity within the interval and are spread over the entire range, thus showing a more complex dynamical behavior compared to C2HM and 2D-HM. This characteristic is indicative of TD-NCHM’s ability to generate more dispersed and pseudo-random chaotic sequences. The trajectory plot analysis of TD-NCHM shows that it has highly desirable properties for generating complex and unpredictable chaotic sequences, making it a valuable tool for various applications in the field of chaos theory.
Figure 3. The trajectory diagrams of chaotic systems. (a) The trajectory diagram of TD-NCHM with μ = 4 , r = 4 . (b) The trajectory diagram of TD-NCHM with μ = 20 , r = 20 . (c) The trajectory diagram of C2HM with α = 2 , β = 1 . (d) The trajectory diagram of 2D-NM with h = 5 , r = 5 .

2.3. Lyapunov Exponent Analysis

The Lyapunov exponent is a well-established index for quantifying the statistical properties of dynamical systems. A positive Lyapunov exponent indicates the presence of chaos in the system, with the degree of nonlinearity increasing as the maximum Lyapunov exponent increases. In addition, the presence of two positive Lyapunov exponents confirms the existence of hyperchaotic behavior.
Based on the results presented in Figure 4, it is clear that all systems exhibit hyperchaotic behavior. However, TD-NCHM shows a wider hyperchaotic interval and a more stable index range within the interval, indicating its potential for use in applications requiring high levels of nonlinear complexity and safety.
Figure 4. The Lyapunov exponents for chaotic systems. (a) The Lyapunov exponent of TD-NCHM with μ = 20 , r ∈ 0 , 20 ; (b) The Lyapunov exponent of TD-NCHM with μ = 0 , 20 , r = 20 . (c) The Lyapunov exponent of C2HM with α = 0 , 2 , β = 1 . (d) The Lyapunov exponent of 2D-HM with h = 0 , 7 , r = 5 .

2.4. Permutation-Entropy Analysis

Permutation entropy is used for measuring the complexity of chaotic sequences. A smaller index corresponds to a more regular and ordered sequence, while a higher index indicates a more complex and disordered sequence. The result of the permutation entropy comparison is shown in Figure 5.
Figure 5. The permutation entropies of chaotic systems. (a) The permutation entropy of TD-NCHM with μ = 20 , r ∈ 2 , 20 . (b) The permutation entropy of TD-NCHM with μ = 2 , 20 , r = 20 . (c) The permutation entropy of C2HM with α = 0 , 2 , β = 1 . (d) The permutation entropy of 2D-HM with h = 0 , 7 , r = 5 .
The result shows that TD-NCHM exhibits a permutation entropy that is consistently close to 1 and remains smooth throughout the entire parameter interval, without any significant fluctuations or periodic windows. This observation implies that the TD-NCHM map generates chaotic sequences with more complex nonlinear dynamical behavior and greater randomness over a wider parameter interval. In summary, the comparison of permutation entropies demonstrates that TD-NCHM generates more complex and random chaotic sequences than the other systems considered in this study. This finding highlights the potential of TD-NCHM for applications requiring high levels of randomness and complexity.

2.5. Statistical-Randomness Analysis

The NIST-800-22 test suite uses 15 different tests to assess the randomness of generated bit sequences. In this study, 150 binary sequences of length 1,000,000 were generated using the TD-NCHM. The test results were obtained by applying the NIST-800-22 test suite with a significance level of a = 0.01 and are presented in Table 1. For each test, an average p-value and a pass rate were calculated. A statistical test is considered passed if the average p-value is greater than or equal to 0.01 and the pass rate exceeds 96 % . It is clear from the results that the random numbers generated by TD-NCHM pass all the tests with significantly high p-values and pass rates approaching 100 % .
Table 1. NIST 800-22 test results.

4. Security Analyses and Experimental Results

4.1. Simulation Results

In this study, the test images used for evaluation were Girl, Baboon, Cameraman, and Peppers. The effectiveness of the proposed encryption algorithm was assessed by examining the experimental results, as illustrated in Figure 12. The encrypted images were observed to exhibit a random distribution of pixels, and the decryption process produced clear and complete reconstruction of the original images, indicating the success of the algorithm.
Figure 12. Simulation results. (a–d) the original images of Girl, Baboon, Cameraman, and Peppers, respectively. (e–h) the encrypted images of Girl, Baboon, Cameraman, and Peppers, respectively. (i–l) the decrypted images of Girl, Baboon, Cameraman and Peppers, respectively.

4.2. Key-Space and Key-Sensitivity Analyses

A secure and effective encryption algorithm requires the support of a sufficiently large key space. The key of this algorithm consists of 256 binary digits, so its key space is 2 256 . Due to current computer hardware conditions, this key has enough space to resist brute-force cracking.
To evaluate the sensitivity of the proposed algorithm to key changes, we randomly altered one bit of the 256-bit secret key and attempted to decrypt the encrypted image using the modified key. The decryption results are presented in Figure 13, which shows that the decrypted images are completely distorted and do not resemble the original ones at all. This confirms that the proposed algorithm is highly sensitive to key changes and can effectively resist attacks on the key.
Figure 13. Sensitivity test results of the Girl image. (a) The decrypted result with the correct key. (b–f) The decrypted results with a key that was randomly changed by one bit.

4.3. Histogram Analyses

The histograms of the original images and the encrypted images are displayed in Figure 14. The histograms depict the pixel-value distributions of the images. The original images have regular pixel-value distributions, with concentrated features at some pixel values and scattered features at others. In contrast, the encrypted images show a distribution of pixel values that is close to uniform. This indicates that the encryption process disrupts the regularity of the original images and effectively resists statistical attacks on pixel values.
Figure 14. Histograms. (a) The histograms of Girl and encrypted Girl. (b) The histograms of Baboon and encrypted Baboon. (c) The histograms of Cameraman and encrypted Cameraman. (d) The histograms of Peppers and encrypted Peppers.
In addition, we use the Chi-square test to quantitatively evaluate the distribution of pixels in the ciphertext. The Chi-square test formula is as follows.
χ 2 = ∑ i = 0 255 E i − P P
where E i and P represent the expected and actual frequency values for each gray value, respectively. A smaller value of χ 2 indicates a more uniform distribution of gray values in the image. For a 256-level grayscale image, with the confidence interval set at 0.05, the critical value of χ 2 is 293.2478. As long as χ 2 does not exceed the critical value, it is considered to pass this test.
Table 2 shows the values of χ 2 on different images. From the table, it can be seen that for the encryption algorithm proposed in this paper, the χ 2 values of all the images are less than the critical value, indicating that the images encrypted using the algorithm in this paper accept the assumption of random-like images, i.e., the pixel distribution is uniform. This shows that the method proposed in this paper has strong resistance to statistical analysis.
Table 2. Chi-square test results for various images.

4.4. Correlation-Coefficient Analyses

The images in their original state typically exhibit high degrees of correlation between adjacent pixels, resulting in the presence of significant meaningful information. However, a key objective of image encryption is to disrupt the correlations between neighboring pixels of the original images. In this regard, this paper employs Equation (12) as the method of calculating the correlations between the pixels of the images.
ρ x y = E [ x − E ( x ) ] [ y − E ( y ) ] D ( x ) D ( y )
where E ( x ) = 1 l ∑ i = 1 l x i and D ( x ) = 1 l ∑ i = 1 l x i − E ( x ) 2 represent the mean and the variance in l pixels, respectively.
In this study, 10,000 pixels selected randomly from the horizontal, vertical, and diagonal directions are utilized to compute image correlations. The calculated correlation coefficients before and after image encryption are compared in Table 3. The purpose of image encryption is to break the high degree of correlation between neighboring pixels in the original images. The results in Table 3 indicate that the relationship between neighboring pixels is significantly reduced after encryption, rendering the resulting images with almost no discernible regularity.
Table 3. Comparison of correlation coefficient values with existing schemes for various images.
Figure 15 shows the distributions of the neighboring pixels of the original and encrypted images. The results indicate that the pixels in the original images are clustered around the line, implying a strong correlation between neighboring pixels in all three directions. Conversely, the encrypted image exhibits a uniform distribution of pixels across the entire interval. This outcome can be attributed to the disturbance and alteration of the construction and display pattern of the plaintext image during the encryption process. Consequently, statistical attacks are unable to extract sufficient information from the encrypted image due to the disrupted patterns and correlations, thereby ensuring the security and robustness of the proposed encryption algorithm.
Figure 15. The distributions of adjacent pixels in the original image and encrypted image of Lena. (a–c) The distributions of the original image in the horizontal, vertical, and diagonal directions, respectively. (d–f) The distributions of the encrypted image in the horizontal, vertical, and diagonal directions, respectively.

4.5. Information-Entropy Analyses

In the context of image encryption, the information entropy value of an image is a measure of the degree of randomness or confusion among its pixels. Specifically, a higher entropy value of the encrypted image implies a more effective encryption result. The formula for calculating the information entropy is as follows:
H ( m ) = ∑ i = 0 2 n − 1 p ( m i ) log 2 1 p ( m i )
In the case of gray images, the theoretical upper limit of information entropy is 8. Table 4 presents the information-entropy values of the original and encrypted images. The results reveal that the information-entropy value of the encrypted image is in close proximity to the theoretical maximum, indicating a significant degree of pixel confusion in the encrypted image. Furthermore, a comparative analysis reveals that the proposed algorithm yields the smallest difference between the obtained information entropy and the theoretical maximum among all the comparison results. These findings suggest that the proposed algorithm is effective in achieving a high level of encryption by significantly disrupting the pixel patterns and randomness of the original image.
Table 4. Comparison of information entropy values with existing schemes for various images.

4.6. Differential-Attack Analyses

Differential attacks are a class of attacks that target encryption algorithms and keys by analyzing the propagation of changes in plaintext images with slight variations after encryption. To mitigate the risk of differential attacks, encryption algorithms should aim to minimize the similarity between the plaintext and ciphertext images. In this study, three metrics, namely, the Number of Pixel Changes Rate (NPCR), the Unified Average Change Intensity (UACI) [32], and the Block Average Change Intensity (BACI) [33], are employed to quantify the similarity between two images. These metrics are calculated as follows:
N P C R ( P , C ) = ∑ i = 1 M ∑ j = 1 N D ( i , j ) M × N × 100
U A C I ( P , C ) = ∑ i = 1 M ∑ j = 1 N P ( i , j ) − C ( i , j ) M × N × 255 × 100
B A C I ( P , C ) = 1 ( m − 1 ) ( n − 1 ) ∑ i = 1 m − 1 ∑ j = 1 n − 1 m i j ( P , C ) 255
where
D ( i , j ) = 0 , P ( i , j ) = C ( i , j ) 1 , P ( i , j ) ≠ C ( i , j )
m i , j ( P , C ) = 1 6 ∑ l = 1 3 ∑ k = l + 1 4 d ( i , j ) , l − d ( i , j ) , k
d ( i , j ) , 1 = P i , j − C i , j , d ( i , j ) , 2 = P i , j + 1 − C i , j + 1
d ( i , j ) , 3 = P i + 1 , j − C i + 1 , j , d ( i , j ) , 4 = P i + 1 , j + 1 − C i + 1 , j + 1
The theoretical values of these metrics for grayscale images are 99.6094%, 33.4635%, and 26.7712%, respectively. To evaluate the effectiveness of the algorithm against differential attacks, a pixel is randomly selected from the images and its least significant bit is XORed with 1 to modify its value. The modified images are then encrypted to compute the NPCR, UACI, and BACI. This process is repeated 150 times and the results are shown in Table 5.
Table 5. The NPCR, UACI, and BACI values of various images.
It can be seen from the table that the mean, maximum, and minimum values of NPCR, UACI, and BACI are very close to the theoretical values, indicating that the proposed algorithm has a high and stable resistance to differential attacks for each image in the dataset. Thus, it is verified that the proposed image-encryption scheme is effective in resisting differential attacks.
Table 6 presents the comparison result of the Lena image with other existing image-encryption algorithms. The comparison is based on the NPCR, UACI, and BACI metrics. As can be observed from the table, the gaps between the NPCR and UACI indices of our algorithm and their theoretical values are smaller than those of other algorithms. Moreover, the difference between the BACI value of our algorithm and its standard value is only 0.0083, indicating that our algorithm outperforms other algorithms in resisting differential attacks.
Table 6. Comparison of NPCR, UACI, BACI values of various algorithms for Lena image.

4.7. Encryption-Efficiency Analyses

When evaluating an encryption algorithm, it is important to consider not only its security performance but also its efficiency. In this paper, we use three metrics to measure the efficiency of the proposed algorithm, namely, encryption time, encryption throughput (ET), and the number of machine cycles. The ET and the number of machine cycles are defined as follows:
E T = i m a g e s i z e ( b y t e ) e n c r y p t i o n t i m e ( s e c o n d )
m a c h i n e c y c l e s = C P U s p e e d ( H e r t z ) E T ( b y t e )
The experimental environment comprises MATLAB R2016a, Inter(R) Core (TM) i7-7700HQ CPU @ 2.80 GHz and 16 GB RAM on Windows 10. Encryption time was computed as the average value after 100 encryptions of the Lena image. Table 7 presents a comparison of encryption time among different algorithms for different image sizes. The results show that for varying input image sizes, the algorithms proposed in this paper exhibit the least time taken. This indicates that the proposed algorithm has high encryption efficiency for the same amount of work.
Table 7. Comparison of encryption times required by different encryption algorithms for Lena image.
Table 8 presents the comparisons of encryption throughput (ET) and the number of machine cycles between our proposed algorithm and other algorithms for Lena image of size 256 × 256. It is evident from the table that our algorithm performs well in terms of ET and machine cycles when compared with other algorithms.
Table 8. Comparison of ETs and machine cycles required by different encryption algorithms for Lena image of size 256 × 256.

5. Conclusions

This paper proposes a new nonlinear combinatorial hyperchaotic map named TD-NCHM with time delays and evaluates its dynamics using various methods such as a bifurcation diagram, trajectory diagram, Lyapunov exponent, permutation entropy, and NIST-800-22 test. The results indicate that TD-NCHM has a well-distributed dispersed trajectory, a wider hyperchaotic interval, a larger maximum Lyapunov exponent, and a stable higher permutation entropy exponent. Based on TD-NCHM, a plaintext dynamics-based image-encryption algorithm is presented, which utilizes simultaneous row-column shuffling and diffusion. The proposed algorithm reduces the number of encryption rounds and dynamically associates all shuffling and diffusion with plaintext pixels, thereby enhancing its resistance to attacks. Moreover, the entire encryption simulation requires only one round of operation, thus increasing the encryption efficiency. The experimental results demonstrate that the encryption algorithm has a complex key structure, is sensitive to the keystream, and can withstand brute-force cracking, differential attacks, chosen-plaintext attacks, and chosen-ciphertext attacks. It also excels in encryption speed and efficiency.

Author Contributions

Conceptualization, Y.S. and J.H.; Methodology, Y.S. and J.H.; Software, J.H.; Validation, Y.S., L.C., T.W., T.L. and G.Z.; Formal analysis, T.L. and L.C.; Investigation, G.Z. and L.C.; Resources, G.Z.; Data curation, G.Z.; Writing—original draft preparation, J.H.; Visualization, T.W. and T.L.; Supervision, T.L.; Project administration, G.Z. and Y.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was financially supported by the Central Guidance on Local Science and Technology Development Fund under grant number 22ZY1QA006.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article as no datasets were generated or analyzed during the current study.

Acknowledgments

The authors gratefully acknowledge the anonymous reviewers for their helpful comments and suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Stallings, W. Cryptography and Network Security: Principles and Practice, 6th ed.; Prentice Hall Press: Hoboken, NJ, USA, 2013. [Google Scholar]
  2. Fridrich, J. Symmetric Ciphers Based on Two-Dimensional Chaotic Maps. Int. J. Bifurc. Chaos 1998, 8, 1259–1284. [Google Scholar] [CrossRef] [Scilit]
  3. Ren, L.; Mou, J.; Banerjee, S.; Zhang, Y. A hyperchaotic map with a new discrete memristor model: Design, dynamical analysis, implementation and application. Chaos Solitons Fractals 2023, 167, 113024. [Google Scholar] [CrossRef] [Scilit]
  4. Arroyo, D.; Rhouma, R.; Alvarez, G.; Li, S.; Marmol, V. On the security of a new image encryption scheme based on chaotic map lattices. Chaos 2008, 18, 033112. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Arroyo, D.; Diaz, J.; Rodríguez Ortiz, F.d.B. Cryptanalysis of a one round chaos-based Substitution Permutation Network. Signal Process. 2012, 93, 1358–1364. [Google Scholar] [CrossRef] [Scilit]
  6. Wang, X.; Teng, L.; Qin, X. A novel colour image encryption algorithm based on chaos. Signal Process. 2012, 92, 1101–1108. [Google Scholar] [CrossRef] [Scilit]
  7. Zheng, J.; Bao, T. An Image Encryption Algorithm Using Cascade Chaotic Map and S-Box. Entropy 2022, 24, 1827. [Google Scholar] [CrossRef] [Scilit]
  8. Zhang, Z.; Tang, J.; Ni, H.; Huang, T. Image adaptive encryption algorithm using a novel 2D chaotic system. Nonlinear Dyn. 2023, 1–24. [Google Scholar] [CrossRef] [Scilit]
  9. Hu, Y.; Wu, H.; Zhou, L. A Novel Hyperchaotic 2D-SFCF with Simple Structure and Its Application in Image Encryption. Entropy 2022, 24, 1266. [Google Scholar] [CrossRef] [Scilit]
  10. Wang, L.; Cao, Y.; Jahanshahi, H.; Wang, Z.; Mou, J. Color image encryption algorithm based on Double layer Josephus scramble and laser chaotic system. Optik 2023, 275, 170590. [Google Scholar] [CrossRef] [Scilit]
  11. Zhou, S.; Qiu, Y.; Wang, X.; Zhang, Y. Novel image cryptosystem based on new 2D hyperchaotic map and dynamical chaotic S-box. Nonlinear Dyn. 2023, 111, 9571–9589. [Google Scholar] [CrossRef] [Scilit]
  12. Sha, Y.; Bo, S.; Yang, C.; Mou, J.; Jahanshahi, H. A Chaotic Image Encryption Scheme Based on Genetic Central Dogma and KMP Method. Int. J. Bifurc. Chaos 2022, 32, 2250186. [Google Scholar] [CrossRef] [Scilit]
  13. Zhu, S.; Deng, X.; Zhang, W.; Zhu, C. A New One-Dimensional Compound Chaotic System and Its Application in High-Speed Image Encryption. Appl. Sci. 2021, 11, 11206. [Google Scholar] [CrossRef] [Scilit]
  14. Lu, X.; Xu, G.; Zhi, L.; Jian, L. A novel chaotic image encryption algorithm using block scrambling and dynamic index based diffusion. Opt. Lasers Eng. 2017, 91, 41–52. [Google Scholar] [CrossRef] [Scilit]
  15. Liu, W.; Sun, K.; Zhu, C. A fast image encryption algorithm based on chaotic map. Opt. Lasers Eng. 2016, 84, 26–36. [Google Scholar] [CrossRef] [Scilit]
  16. Zhou, Y.; Bao, L.; Chen, C. A new 1D chaotic system for image encryption. Signal Process. 2014, 97, 172–182. [Google Scholar] [CrossRef] [Scilit]
  17. Shevchenko, I. Lyapunov exponents in resonance multiplets. Phys. Lett. A 2014, 378, 34–42. [Google Scholar] [CrossRef] [Scilit]
  18. Bandt, C.; Pompe, B. Permutation Entropy: A Natural Complexity Measure for Time Series. Phys. Rev. Lett. 2002, 88, 174102. [Google Scholar] [CrossRef] [Scilit]
  19. Bassham, L.; Rukhin, A.; Soto, J.; Nechvatal, J.; Smid, M.; Leigh, S.; Levenson, M.; Vangel, M.; Heckert, N.; Banks, D. A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications. 2010. Available online: https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=906762 (accessed on 13 March 2023).
  20. Teng, L.; Wang, X.; Yang, F.; Xian, Y. Color image encryption based on cross 2D hyperchaotic map using combined cycle shift scrambling and selecting diffusion. Nonlinear Dyn. 2021, 105, 1859–1876. [Google Scholar] [CrossRef] [Scilit]
  21. Gao, X. Image encryption algorithm based on 2D hyperchaotic map. Opt. Laser Technol. 2021, 142, 107252. [Google Scholar] [CrossRef] [Scilit]
  22. Belazi, A.; Talha, M.; Kharbech, S.; Xiang, W. Novel Medical Image Encryption Scheme Based on Chaos and DNA Encoding. IEEE Access 2019, 7, 36667–36681. [Google Scholar] [CrossRef] [Scilit]
  23. Naveed Ahmed, A.; Umar, H.; Maria, A. A substitution box generator, its analysis, and applications in image encryption. Signal Process. 2021, 187, 108144. [Google Scholar] [CrossRef] [Scilit]
  24. Ali Asghar, A.; Mahdi, M.; Rahil, H. Evolutionary-based image encryption using biomolecules and non-coupled map lattice. Opt. Laser Technol. 2021, 140, 106974. [Google Scholar] [CrossRef] [Scilit]
  25. Ye, X.; Wang, X.; Gao, S.; Mou, J.; Wang, Z. A new random diffusion algorithm based on the multi-scroll Chua’s chaotic circuit system. Opt. Lasers Eng. 2020, 127, 105905. [Google Scholar] [CrossRef] [Scilit]
  26. Xingyuan, W.; Shengnan, C.; Yingqian, Z. A chaotic image encryption algorithm based on random dynamic mixing. Opt. Laser Technol. 2021, 138, 106837. [Google Scholar] [CrossRef] [Scilit]
  27. Rajagopalan, S.; Sharma, S.; Arumugham, S.; Upadhyay, H.; Rayappan, J.B.B.; Amirtharajan, R. YRBS coding with logistic map—A novel Sanskrit aphorism and chaos for image encryption. Multimed. Tools Appl. 2019, 78, 10513–10541. [Google Scholar] [CrossRef] [Scilit]
  28. Aqeel ur, R.; Xiaofeng, L.; Muntazim Abbas, H.; Rizwan, H. An efficient mixed inter-intra pixels substitution at 2bits-level for image encryption technique using DNA and chaos. Opt. Int. J. Light Electron Opt. 2018, 153, 117–134. [Google Scholar] [CrossRef] [Scilit]
  29. Qiqi, C.; Xiaojun, T.; Zhu, W.; Miao, Z. Selective image encryption method based on dynamic DNA coding and new chaotic map. Optik 2021, 243, 167286. [Google Scholar] [CrossRef] [Scilit]
  30. Liping, C.; Hao, Y.; Liguo, Y.; Machado, J.A.T.; Ranchao, W.; Zeeshan, A. Double color image encryption based on fractional order discrete improved Henon map and Rubik’s cube transform. Signal Process. Image Commun. 2021, 97, 116363. [Google Scholar] [CrossRef] [Scilit]
  31. Wenlong, D.; Qiliang, L.; Yiwen, T.; Miao, H.; Ran, Z. A robust and multi chaotic DNA image encryption with pixel-value pseudorandom substitution scheme. Opt. Commun. 2021, 499, 127211. [Google Scholar] [CrossRef] [Scilit]
  32. Wu, Y.; Noonan, J. NPCR and UACI randomness tests for image encryption. Cyber J. Multidiscip. J. Sci. Technol. J. Sel. Areas Telecommun. 2011, 2, 31–38. [Google Scholar]
  33. Zhang, Y. The unified image encryption algorithm based on chaos and cubic S-Box. Inf. Sci. 2018, 450, 361–377. [Google Scholar] [CrossRef] [Scilit]
  34. An efficient block-level image encryption scheme based on multi-chaotic maps with DNA encoding. Nonlinear Dyn. 2021, 2021, 1–26. [CrossRef] [Scilit]
  35. Xiaoqiang, Z.; Yangming, H. Multiple-image encryption algorithm based on the 3D scrambling model and dynamic DNA coding. Opt. Laser Technol. 2021, 141, 107073. [Google Scholar] [CrossRef] [Scilit]
  36. Chai, X.; Yang, K.; Gan, Z. A new chaos-based image encryption algorithm with dynamic key selection mechanisms. Multimed. Tools Appl. 2017, 76, 9907–9927. [Google Scholar] [CrossRef] [Scilit]
  37. Abdurrahim, T.; Uğur, E.; Deniz, U. An image encryption scheme based on an optimal chaotic map derived by multi-objective optimization using ABC algorithm. Nonlinear Dyn. 2021, 105, 1885–1909. [Google Scholar] [CrossRef] [Scilit]
  38. Li, S.; Yin, B.; Ding, W.; Zhang, T.; Ma, Y. A Nonlinearly Modulated Logistic Map with Delay for Image Encryption. Electronics 2018, 7, 326. [Google Scholar] [CrossRef] [Scilit]
  39. Xu, L.; Li, Z.; Li, J.; Hua, W. A novel bit-level image encryption algorithm based on chaotic maps. Opt. Lasers Eng. 2016, 78, 17–25. [Google Scholar] [CrossRef] [Scilit]
  40. Cai, S.; Huang, L.; Chen, X.; Xiong, X. A Symmetric Plaintext-Related Color Image Encryption System Based on Bit Permutation. Entropy 2018, 20, 282. [Google Scholar] [CrossRef] [Scilit]
  41. Ye, J.; Deng, X.; Zhang, A.; Yu, H. A Novel Image Encryption Algorithm Based on Improved Arnold Transform and Chaotic Pulse-Coupled Neural Network. Entropy 2022, 24, 1103. [Google Scholar] [CrossRef] [Scilit]
  42. Shen, H.; Shan, X.; Xu, M.; Tian, Z. A New Chaotic Image Encryption Algorithm Based on Transversals in a Latin Square. Entropy 2022, 24, 1574. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.