Next Article in Journal
State Feedback Optimal L2-Induced Control of Nonlinear Systems Utilizing Universal Approximation
Previous Article in Journal
Quantum GHZ Multiplexer: Hierarchical Teleportation for 1→2n Quantum Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Image Encryption Algorithm Based on a New Two-Dimensional Chaotic System and Rotating Dial Model

School of Information and Control Engineering, China University of Mining and Technology, Xuzhou 221116, China
*
Author to whom correspondence should be addressed.
Entropy 2026, 28(5), 530; https://doi.org/10.3390/e28050530
Submission received: 13 March 2026 / Revised: 28 April 2026 / Accepted: 30 April 2026 / Published: 7 May 2026
(This article belongs to the Section Complexity)

Abstract

With the rapid advancement of information technology, the secure transmission and storage of digital images have garnered increasing attention. To safeguard image information from theft and enhance security during network transmission, a novel image encryption algorithm based on a two-dimensional chaotic system named the two-dimensional sine-cubic modular map (2D-SCMM) and a rotating dial model is proposed. First, the 2D-SCMM is designed, and comprehensive dynamic analyses along with randomness assessments are conducted. Second, in the scrambling phase, a diagonal cyclic-shift transformation is employed to dynamically update the distribution of pixel positions. Third, during the diffusion phase, inspired by the dial phone, the rotating dial model is utilized to achieve dynamic pixel updates. Finally, extensive testing and comparative analyses reveal that image pixels are evenly distributed, the average entropy value for grayscale images is 7.9993, and the correlation coefficients approach 0. Meanwhile, the encryption algorithm is highly secure against various attacks, such as noise attacks and cropping attacks.

1. Introduction

With the rapid development of today’s information technology, digital images have become an important medium for transmitting, storing, and expressing information, and are widely used in various fields such as healthcare, education, the military, finance, and social media [1]. However, the extensive use and efficient dissemination of image data also pose significant challenges to information security. With the popularization of the Internet and cloud computing technologies, image data face security threats such as unauthorized access, malicious tampering, and data theft during transmission and storage, which may not only result in personal privacy leakage but also lead to serious economic losses and social security risks [2]. Therefore, the study of effective image encryption algorithms to ensure the security of image data has become an important issue in the field of information security.
Traditional encryption algorithms, such as the Advanced Encryption Standard (AES) and the Data Encryption Standard (DES), have demonstrated remarkable efficacy in encrypting text and data with relatively simple structures. However, when applied to digital images, which are characterized by large data volumes, high redundancy, and spatial correlation, these algorithms encounter significant limitations in both efficiency and security [3]. The unique characteristics of digital images necessitate the development of specialized image encryption algorithms. The high spatial correlation inherent in image data makes them particularly vulnerable to attacks, as attackers can readily exploit statistical analysis or selective attacks to extract image information [4]. Additionally, the high redundancy of images demands more efficient encryption strategies to reduce computational complexity and encryption time [5]. With the exponential growth in the demand for high-definition (HD) and ultra-high-definition (UHD) images, the challenge of enhancing encryption efficiency while maintaining robust security has emerged as a focal point of research [6].
Currently, image encryption schemes employ a variety of techniques, including neural networks [7,8], frequency-domain transforms [9,10], cellular automata [11,12], DNA operations [13,14], and chaos theory [15,16], among others. Among these, chaos theory has become a popular technique in the field of image encryption due to its inherent properties, such as sensitivity to initial conditions, inherent randomness, and unpredictability, which are closely related to the principles of cryptography.
Existing chaotic systems are usually categorized into two types: one-dimensional (1D) [17,18,19] and high-dimensional (HD) [20,21,22,23,24]. HD systems are widely used in image encryption due to their higher dimensionality and more complex nonlinear coupling mechanisms. In recent years, many researchers have developed novel chaotic systems and applied them to image encryption. Dong et al. [25] created a new two-dimensional chaotic map called the two-dimensional beta chaotic map (2D-BCM), which exhibits higher sensitivity and security compared with previous schemes. Chen [26] et al. constructed a two-dimensional logistic-sine-Henon map (2D-LSHM) for image encryption. Compared with existing chaotic systems, the 2D-LSHM exhibits better chaotic performance and is more suitable for image encryption scenarios. Fei et al. [27] proposed a new 2D absolute sine–cosine coupling (2D-ASCC) model. The proposed system has higher complexity and better pseudo-randomness than other 2D chaotic maps. Zhang et al. [28] designed a generalized 2D enhanced cosine coupling model (2D-ECCM), which can utilize most existing 1D maps as seed maps to construct new 2D chaotic systems. Therefore, compared with 1D chaotic systems, 2D chaotic systems exhibit more complex dynamical behavior, making them more suitable for image encryption systems and greatly improving the stochasticity and complexity of the encryption process.
However, some existing chaotic systems suffer from drawbacks; for example, their output trajectories are not evenly distributed throughout the phase space, and the resulting chaotic sequences lack randomness. In addition, their chaotic range is small and discontinuous, and within certain parameter ranges, the system may degenerate into periodic behavior rather than hyperchaotic behavior, thereby losing the advantages of HD systems. To overcome these limitations, increasingly improved chaotic maps have been proposed. Huang et al. [29] constructed a new 2D chaotic system by combining two 1D chaotic maps (the logistic map and the ICMIC map) with two nonlinear bounded functions (mod and sine functions). The system utilizes the nonlinear properties and boundedness of modular operations to improve output complexity. Zhou et al. [30] proposed a two-dimensional cross-coupled modular chaos model (2D-CMCM). The system cross-couples two one-dimensional chaotic systems, enabling more complex dynamical behavior than the original systems while also significantly increasing chaos complexity by constraining the output within a finite range using modular operations. Gao et al. [31] designed a new chaotic system (2DSHM) by coupling the sine map and the Henon map and improved its chaotic performance by constraining the output to (0, 1) using modulo 1 operations. Wu et al. [32] designed a 2D discrete hyperchaotic map using exponential functions and modular operations, where the exponential component significantly improves system randomness and traversal. Therefore, we design a new 2D hyperchaotic system using modular operations and exponential components to overcome the limitations of existing chaotic systems.
In general, the typical framework of image encryption is scrambling—diffusion. Scrambling techniques enable the replacement of original image pixel positions and reduce the correlation between adjacent pixels. Scrambling methods include zigzag transforms, spiral transforms, diagonal transforms, and others. Zhang and colleagues [33] constructed a cyclic hierarchical scrambling method, which enhances algorithmic randomness and effectively reduces correlation between neighboring pixels through a parity-layering strategy. Wang et al. [34] designed a bidirectional diagonal cross-transform with different directions, which overcomes the shortcomings of traditional diagonal transforms and significantly reduces horizontal correlation coefficients in planar images. However, these scrambling methods still have limitations, such as their inability to simultaneously reduce correlations among adjacent, vertical, and diagonal pixels. In this paper, a diagonal cyclic-shift transform is proposed to simultaneously reduce the correlation coefficients in the horizontal, vertical, and diagonal directions.
Diffusion techniques modify pixel values to strengthen resistance against statistical attacks. Common diffusion methods include dissimilarity diffusion, add-and-subtract diffusion, and S-box-based diffusion. Zhu et al. [35] constructed an improved two-dimensional diffusion structure that extends pixel-wise transformation from the original image to the entire ciphertext image. Lai et al. [36] combined dissimilarity and add-and-subtract modular operations, resulting in a substantial increase in security. Xu et al. [37] designed a bit-level mutual diffusion technique for grayscale images, which achieves the desired effect in a single round. Wang et al. [38] designed cross-plane scrambling and diffusion combined with S-box substitution, achieving high security through efficient algorithmic design. Wu et al. [32] constructed a new S-box generation method that innovatively combines two chaotic sequences to construct a dynamic S-box that is fast and flexible. However, in order to balance diffusion efficiency and security, we propose a dial diffusion model. The dial model is inspired by physical encryption devices, and its multilayer state-switching and random perturbation mechanisms are highly compatible with the complex dynamics of chaotic systems. Introducing the dial model into the image encryption design further enhances diffusion through layered perturbation and parameter tuning, thereby improving the security and adaptability of the encryption algorithm. The main contributions of this work are as follows:
(1)
A new two-dimensional chaotic system named the two-dimensional sine-cubic modular map (2D-SCMM) is proposed. Compared with existing chaotic maps, the 2D-SCMM offers better usability, a larger parameter space, and more complex chaotic behavior.
(2)
A novel diagonal cyclic-shift transformation is proposed. It effectively reduces pixel correlation and significantly enhances the scrambling effect.
(3)
Inspired by a rotary dial telephone, a diffusion method based on a rotating dial model is proposed. It enables effective image diffusion and further improves the algorithmic security.
(4)
An image encryption algorithm is designed by combining the 2D-SCMM, the diagonal cyclic-shift transformation, and the rotating dial model. Experimental results show that the proposed algorithm achieves high security.
The rest of this paper is organized as follows. Section 2 describes the theoretical principles used in the encryption algorithm. Section 3 details the encryption process. Section 4 discusses the experimental results obtained using the proposed algorithm. Finally, the conclusions are drawn in Section 5.

2. Theoretical Principles

2.1. Chaotic Systems

(1)
Sine map
The sine map [39] is a common chaotic map defined mathematically as follows:
x n + 1 = γ sin ( π x n ) ,
where the control parameter γ lies in the range γ ∈ [0, 1]. The state variable x is defined in the range x ∈ [0, 1]. When the control parameter γ ∈ [0.87, 1], the sine map exhibits chaotic behavior.
(2)
Cubic map
The cubic map [40] is a common chaotic map. Compared with the logistic chaotic map, the cubic chaotic map exhibits better chaotic traversal and is characterized by fast convergence and high accuracy. Its expression is as follows:
x n + 1 = β x n ( 1 x n 2 ) ,
where the control parameter β ∈ [0, 4] and the state variable xn ∈ [−1, 1]. When the chaos parameter β = 2.595, the cubic chaotic map exhibits good traversal behavior over the interval [0, 1].
(3)
Proposed two-dimensional chaotic system
Based on the study of the sine map and the cubic map, the two-dimensional sine-cubic modular map (2D-SCMM) is proposed in this paper. It exploits the nonlinear properties and boundedness of the modulo operation to enhance the complexity of the system output and allow the system to have a larger parameter range. The definition of 2D-SCMM is shown in Equation (3):
x n + 1 = mod ( cos ( 4 π 2 ( μ ( y n y n 3 ) + sin ( π 2 ( 1 y n ) ) ) + e μ ( x n + y n ) ) , 1 ) y n + 1 = mod ( sin ( 4 π 2 ( μ ( x n x n 3 ) + cos ( π 2 ( 1 x n ) ) ) + e μ ( x n + y n ) ) , 1 ) ,
where the control parameter μ lies in the range μ ∈ [0, + ∞].

2.2. Chaos Performance Analysis

(1)
Bifurcation diagram
The bifurcation diagram [30] shows the state and distribution range of the output sequences in the chaotic map. Given an initial value, the bifurcation map shows how the distribution of values of the pseudo-random sequence changes with variations in the control parameters. Let the initial values of the designed 2D chaotic system be x(0) = 0.1 and y(0) = 0.1. When the control parameter μ ∈ [0, 4], its bifurcation diagram is shown in Figure 1, where Figure 1a shows the evolution of the x sequence with variations in the control parameter, and Figure 1b shows the evolution of the y sequence with variations in the control parameter. It can be seen that the designed 2D chaotic system is always in a chaotic state, i.e., full-domain chaos, as the control parameters increase.
(2)
LE
The Lyapunov exponent (LE) [41] is a key metric for evaluating whether a nonlinear system is chaotic, as it measures the sensitivity of the system to parameters and whether the system enters chaos. Usually, the dimension of a nonlinear system determines the number of LE exponents; i.e., a designed 2D chaotic system has two LEs. The definition of the LE is shown in Equation (4):
Figure 1. Bifurcation diagram: (a) output X of 2D-SCMM; (b) output Y of 2D-SCMM.
Figure 1. Bifurcation diagram: (a) output X of 2D-SCMM; (b) output Y of 2D-SCMM.
Entropy 28 00530 g001
L E = lim n 1 n i = 0 n 1 ln f ( x i )   ,
When both LEs are greater than 0, it indicates that the system is in a hyperchaotic state. The chaotic system generated by the 2D-SCMM has two LEs. The initial parameter is set as (x, y) = (0.1, 0.1), and the control parameter is set as μ ∈ [0, 8]. Figure 2a visualizes the two LEs of the 2D-SCMM. The proposed map can obtain two positive LEs, which indicates that it can exhibit hyperchaotic behavior. To investigate the performance of the 2D-SCMM, it is compared with other chaotic systems, including 2D-LCCMM [30] and 2D-ILM [29], as shown in Figure 2b,c. It is evident that, overall, the 2D-SCMM exhibits LE values that are generally larger than those of the compared systems across a wide parameter range, particularly for μ > 2.5. It is worth noting that in a small parameter interval (μ < 2.5), the first LE (LE1) of the 2D-LCCMM is slightly lower than that of the proposed system. However, this does not diminish the overall superior chaotic performance of the 2D-SCMM in the primary parameter range of interest for encryption. This analysis suggests that the 2D-SCMM possesses a broader effective chaotic range and demonstrates more complex hyperchaotic behavior compared to the other maps.
(3)
Sensitivity analysis
Initial condition sensitivity [42] refers to the property that small differences in initial conditions in chaotic systems are exponentially amplified over time, leading to significant deviations in system trajectories. The sensitivity of chaotic systems to initial values determines the sensitivity of encryption algorithms to plaintext. The black solid lines in Figure 3a,b denote the sensitivity of the 2D chaotic system to initial conditions for μ1 = 1, x1(0) = 0.1, and y1(0) = 0.1 over 50 iterations. Here, n denotes the number of iterations. Keeping the initial values unchanged and changing only the control parameter to μ2 = 1 + 10−14, the x-sequence and y-sequence produced by the first 50 iterations of the designed 2D chaotic system are shown as red dashed lines in Figure 3a,b. It can be clearly seen that when n = 7, the black solid line and the red dashed line in Figure 3a,b begin to diverge significantly. Therefore, the designed 2D chaotic system can produce almost completely different chaotic sequences when the control parameters are changed slightly, i.e., the designed 2D chaotic system is very sensitive to the control parameters.
The black solid lines in Figure 3c,d represent the x-sequence and y-sequence generated by 50 iterations of the 2D chaotic system under the initial conditions μ1 = 1, x1(0) = 0.1, and y1(0) = 0.1. Keeping the control parameters unchanged and changing only the initial value to x2(0) = 0.1 + 10−14, the x-sequence and y-sequence produced by the first 50 iterations of the designed 2D chaotic system are shown as red dashed lines in Figure 3c,d. It can be clearly seen that when n = 7, the black solid line and the red dashed line in Figure 3a,b begin to diverge significantly. Therefore, the designed 2D chaotic system is very sensitive to the control parameters.
(4)
Sample entropy
Sample entropy allows the assessment of time-series complexity [43]. The complexity of a nonlinear system increases with the value of the sample entropy. For a time series of size {x1, x2, … xN}, embedding dimension m, and similarity tolerance limit r, the mathematical expression of sample entropy is as follows:
S a m p l e   e n t r o p y ( m , r , N ) = log A B   ,
where A and B are the numbers of vector pairs satisfying d[Xm + 1(i), Xm + 1(j)] < r and d[Xm(i), Xm(j)] < r. d[Xm(i), Xm(j)] represents the Chebyshev distance between Xm(i) and Xm(j). The sample entropy results for the logistic map, sine map, cubic map, and 2D-SCMM are shown in Figure 4. The sample entropy values of 2D-SCMM are higher than those of the other maps, which indicates that the 2D-SCMM has better chaotic performance.
(5)
NIST test
The NIST test [44] consists of 15 sub-tests that are primarily used to examine the randomness, uniformity, independence, and other properties of sequences generated by a random number generator, and each test produces a p-value. When the p-values of all 15 sub-tests in the NIST test are greater than 0.01, the sequence passes the NIST test, i.e., the sequence can be considered random. Let the initial conditions of the designed 2D chaotic system be μ = 3, x(0) = 0.4, and y(0) = 0.6. Two sufficiently long sequences, x(n) and y(n), are generated and converted into a binary bit stream for testing. That is, the chaotic sequences x(n) ∈ [0, 1], n = 1,2, …, N; y(n) ∈ [0, 1], n = 1,2, …, N are converted into binary sequences x (n) and y (n), where N is the length of the sequences, and the binary sequences x and y consist of 1 s and 0 s. The conversion method is shown in Equations (6) and (7):
x ( n ) = mod ( f l o o r ( ( x ( n ) + 100 ) × 2 20 ) , 2 )   ,
y ( n ) = mod ( f l o o r ( ( y ( n ) + 100 ) × 2 20 ) , 2 )   ,
where floor(x) rounds the elements of x to the nearest integer less than or equal to x, and mod( · ) stands for the modulo operation. From Table 1, it can be seen that the p-values of all sub-tests for x(n) and y(n) are greater than 0.01, i.e., the designed 2D chaotic system passes the NIST test. The sequences generated by the 2D-SCMM exhibit a high degree of randomness.

2.3. Diagonal Cyclic-Shift Transformation

The traditional diagonal transformation refers mainly to the zigzag transformation, which is realized by traversing the image in a “Z” pattern and then reconstructing the scanned elements into a matrix of the same size as the original image. In this paper, a method combining diagonal transformation and cyclic shift is proposed for scrambling. First, an m × n image is circularly shifted along the anti-diagonal direction for each anti-diagonal to complete the first scrambling stage. Second, circular shifts are performed along the main diagonal direction for each main diagonal to complete the second scrambling stage, and the number of circular shifts is controlled by chaos.
Figure 5 shows the diagonal cyclic-shift transformation. Taking a 6 × 6 matrix as an example, each anti-diagonal (in the “/” direction) undergoes an independent cyclic shift, with the shift amount controlled by the chaotic sequence X1. Subsequently, each main diagonal (in the “\” direction) is independently cyclically shifted, with the shift amount determined by the chaotic sequence X2. The orthogonal nature of these two directions enhances the complexity of pixel-position scrambling.

2.4. Rotating Dial Model

Inspired by the rotary dial telephone shown in Figure 6, this paper designs a rotating dial model for the diffusion stage. The dial comprises a superimposed outer ring and inner ring, both divided into 16 equal sectors, with the 16 hexadecimal characters (0–9, A–F) sequentially assigned to each sector. For pixel processing, the index of the high-order hexadecimal character is located on the outer dial. The outer dial characters are rotated clockwise by a chaos-generated offset, and the high-order character is replaced with the new character at the corresponding index. The same operation is applied to the low-order character to complete low-digit substitution. This high- and low-order character replacement is performed for all pixels in the m × n image.
Figure 7 illustrates the rotating dial model. Taking pixel 161 as an example, first, the decimal number 161 is converted to the hexadecimal number A1; second, the high-order character A is mapped onto the outer ring dial, and the low-order character 1 is mapped onto the inner ring dial; third, the inner and outer dials are rotated clockwise, with the displacement of each dial controlled by the chaotic system. For example, if the displacement of the inner dial is 2, the inner dial is rotated by 2 units, and the character 1 is replaced with F. If the displacement of the outer dial is 4, the outer dial is rotated by 4 units, and the character A is replaced with 6, yielding the hexadecimal number 6F. Finally, the hexadecimal number 6F is converted to the decimal number 111 to complete the substitution.

3. Proposed Image Encryption Algorithm

In this section, an image encryption algorithm using the newly constructed chaotic system is proposed. The encryption algorithm is divided into three phases, namely key generation, scrambling, and diffusion. The flowchart of the image encryption process is shown in Figure 8. The proposed encryption algorithm begins with the extraction of chaotic parameters from the plaintext image using the SHA-256 algorithm. These parameters are then used to perform sub-diagonal and main diagonal scrambling operations on the image. Finally, the scrambled image is processed using a rotating dial model to generate the final encrypted image.

3.1. Key Generation

In this stage, the SHA-256 algorithm is first used to generate the hash value of the plaintext image. Algorithm 1 describes the key generation process.
Algorithm 1 Key generation process
Input: The plaintext image set P and the size m × n of plaintext image set P
Output: The chaotic sequences X1, X2 and Y1, Y2
1: K←SHA256(P)
2: {k1, k2, …, k32}←K
3: {h1, h2, …, h32}←bin2dec{k1, k2, …, k32}
4: μ←(h1 + h7)⊕(h13 + h19)⊕(h25 + h31)/512
5: x0←(h2h8h14h20h26)/256
6: y0←(h3h9h15h21h27)/256
7: μ ←(h4 + h10)⊕(h16 + h22)⊕(h28 + h32)/512
8: x 0 ←(h5h11h17h23h29)/256
9: y 0 ←(h6h12h18h24h30)/256
10: X1 and X2←2D-SCMM(μ, x0, y0)
11: Y1 and Y2←2D-SCMM( μ , x 0 , y 0 )
Step 1: Generating hash values
The size of the plaintext image m × n is obtained. The SHA-256 hash algorithm is employed to compute the hash value of the plaintext image, which is converted into a 256-bit binary sequence. This binary hash sequence is segmented into 32 groups with 8 bits per group, denoted as H = (h1, h2, …, h32).
Step 2: Generating keys
Based on the obtained hash value, the initial conditions of the designed 2D-SCMM can be calculated as shown in Equation (8). The arrangement of hash values hi in Equation (8) is deliberately designed to enhance the security and effectiveness of key derivation. Each of the six key parameters (μ, μ , x0, x 0 , y0, y 0 ) is generated by systematically sampling the 32-byte SHA-256 hash output with a fixed stride (e.g., indices 1, 7, 13, 19, 25, 31 for μ, spaced at intervals of 6 modulo 32). This stride-based, uniform sampling ensures that all bits of the hash contribute evenly to the keys and helps mitigate potential local correlations within the hash. The combination of addition (+) and XOR (⊕) operations introduces nonlinearity and confusion, strengthening the dependence of the derived keys on the original plaintext (via the hash). Finally, scaling by 512 or 256 normalizes the results to the dynamic ranges required by the chaotic system. This structured approach aims to maximize the utilization of the hash information while ensuring key sensitivity and robustness.
Step 3: Generating chaotic sequences
2D-SCMM iterates 1000 + m + n times based on the initial values μ, x0, y0 and discards the first 1000 values of 2D-SCMM. The chaotic sequences X1 and X2 are generated with the same length, m + n. Moreover, 2D-SCMM iterates 1000 + m × n times based on the initial values μ , x 0 , y 0 and discards the first 1000 values of 2D-SCMM. The chaotic sequences Y1 and Y2 are generated with the same length, m × n.
μ = ( h 1 + h 7 ) ( h 13 + h 19 ) ( h 25 + h 31 ) 512 x 0 = h 2 h 8 h 14 h 20 h 26 256 y 0 = h 3 h 9 h 15 h 21 h 27 256 μ = ( h 4 + h 10 ) ( h 16 + h 22 ) ( h 28 + h 32 ) 512 x 0 = h 5 h 11 h 17 h 23 h 29 256 y 0 = h 6 h 12 h 18 h 24 h 30 256 ,

3.2. Encryption Process

The flowchart of the image encryption process is shown in Figure 8. Algorithm 2 shows the encryption process, and the encryption steps are detailed below.
Step 1: Anti-diagonal cyclic shift
The plaintext image P is divided into several one-dimensional sequences along the anti-diagonal direction, denoted as L1, L2, …, Lh, where h is obtained from Equation (9). After that, the displacement values steps1, steps2,stepsh, j = 1, 2, …, h are calculated for each one-dimensional sequence, where stepsj is given by Equation (10). The permuted image P1 is obtained.
h = m + n − 1,
stepsj = mod(floor((X1(j) + 1) × 10,000), m), j = 1, 2, …, h,
Step 2: Main diagonal cyclic shift
The image P1 is divided into several one-dimensional sequences along the main diagonal direction, denoted as L 1 , L 2 , …, L h , where h is obtained from Equation (9). After that, the displacement values steps 1 , steps 2 , … steps h , j = 1, 2, …, h are calculated for each one-dimensional sequence, where steps j is given by Equation (11). The permuted image P2 is obtained.
steps′j = mod(floor((X2(j) + 1) × 10,000), m), j = 1, 2, …, h,
Step 3: Integerizing chaotic sequences
Equations (12) and (13) are used to integerize the chaotic sequences Y1 and Y2.
zi = floor((y1i + 1) × 10,000), i = 1, 2, …, mn,
wi = floor((y2i + 1) × 10,000), i = 1, 2, …, mn,
where y1iY1, y2iY2. Z = {zi} and W = {wi} are two integer chaotic sequences, both of length m × n.
Algorithm 2 Encryption process
Input: The plaintext image set P, the size m × n of plaintext image set P and the chaotic sequences X1,X2 and Y1, Y2 generated in the Algorithm 1
Output: The encrypted image set E
1. /*scramble*/
2. X1floor((X1 + 1) × 10,000)
3. X2floor((X2 + 1) × 10,000)
4. /* Anti-diagonal cyclic shift */
5. for d←2 to 2 × n do
6.         for p←1 to n do
7.               qdp
8.         if q ≧ 1 && q ≦ n
9.                stepsjX1;
10.              P1P(stepsj)
11. /* P1 refers to the image scrambled by anti-diagonal cyclic shift. */
12.        end
13. end
14. /* Main diagonal cyclic shift */
15. for d←−(n − 1) to (n − 1) do
16.        for p←1 to n do
17.            qd + p
18.        if q ≧ 1 && qn
19.               steps j X2;
20.              P2P1 ( steps j )
21. /* P2 refers to the image scrambled by main diagonal cyclic shift. */
22.         end
23. end
24. /*diffusion*/
25. Zfloor((Y1 + 1) × 10,000)
26. Wfloor((Y2 + 1) × 10,000)
27. Rreshape(Z, m, n)
28. Sreshape(W, m, n)
29. bjkdec2hex(pjk)
30. for j←1 to m do
31.            for k←1 to n do
32.                hjk←(bjk, R, S)
33.            end
34. end
35. ejkhex2dec(hjk)
Step 4: Chaotic sequence matrixing
Z and W are converted into two two-dimensional matrices R = [rjk] and S = [sjk], both of size m × n, in the order of their elements using Equations (14) and (15).
R = reshape(Z, m, n),
S = reshape(W, m, n),
where reshape(·) is the matrix-dimension reconstruction function.
Step 5: Using the rotating dial model
First, each pixel pjk of P2 is converted to the corresponding hexadecimal number bjk using Equation (16):
bjk = dec2hex(pjk), j = 1, 2, …, m, k = 1, 2, …, n,
where dec2hex(·) denotes the decimal-to-hexadecimal conversion function, and the result is an m × n hexadecimal matrix B = [bjk]. Each element bjk in matrix B is decomposed into a high nibble cjk and a low nibble djk, i.e., bjk = cjkdjk.
Subsequently, each element in matrix B is substituted using the rotating dial model proposed in Section 2.4. Specifically, the high nibble is first right-shifted, followed by a modulo-16 subtraction operation. High-nibble substitution and low-nibble substitution are then performed sequentially on all elements to obtain an m × n hexadecimal matrix H = [hjk].
Finally, each element hjk in matrix H is converted from hexadecimal into decimal using Equation (17) to generate the final encrypted image E = [ejk]:
ejk = hex2dec(hjk), j = 1, 2, …, m, k = 1, 2, …, n,
where hjkH, and hex2dec(·) denotes the hexadecimal-to-decimal conversion function.

3.3. Decryption Process

The flowchart of the decryption process is shown in Figure 9. For the encrypted image E of size m × n, the decryption process is the inverse of the encryption process. The sender sends the initial values x0, y0, x0′, y0′ and the control parameters μ, μ′ to the recipient. Algorithm 3 shows the decryption process, and the decryption steps are described below.
Step 1: Generating chaotic sequences
The received keys (µ, x0, y0) are iterated through 2D-SCMM 1000 + m + n times and discards the first 1000 values of 2D-SCMM. The chaotic sequences X1 and X2 are generated with the same length, m + n. Similarly, the received keys ( μ , x 0 , y 0 ) are iterated through 2D-SCMM 1000 + m × n times and discards the first 1000 values of 2D-SCMM. The chaotic sequences Y1 and Y2 are generated with the same length, m × n.
Step 2: Inverse rotating dial model
The chaotic matrices R and S are obtained using Equations (12)–(15), and each element in E is then converted into hexadecimal using the dec2hex function. Subsequently, each element undergoes a reverse rotating-dial substitution operation according to the values of the chaotic matrices. Finally, each hexadecimal number is converted into decimal using the hex2dec function to obtain the image P2.
Step 3: Main diagonal inverse cyclic shift
The displacement values steps j , j = 1, 2, …, h are obtained using Equation (11). A reverse main diagonal cyclic shift is performed on image P2 to obtain image P1.
Step 4: Anti-diagonal inverse cyclic shift
The displacement values stepsj, j = 1, 2, …, h are obtained using Equation (10). Inverse sub-diagonal cyclic shifts are performed on image P1 to obtain image P.
Algorithm 3 Decryption process
Input: The encrypted image set E, the size m × n of encrypted image set E and the initial values μ, x0, y0, μ , x 0 , y 0
Output: the decrypted image set P
1. /* Generate the chaotic sequence */
2. Use μ, x0, y0, μ , x 0 , y 0 to generate chaotic sequence X1, X2 and Y1, Y2
3. /* inverse diffusion */
4. Zfloor((Y1 + 1) × 10,000)
5. Wfloor((Y2 + 1) × 10,000)
6. Rreshape(Z, m, n)
7. Sreshape(W, m, n)
8. hjkdec2hex(ejk)
9. for j←1 to m do
10.        for k←1 to n do
11.              bjk←(hjk,−R,−S)
12.        end
13. end
14. pjkhex2dec(bjk)
15. /* inverse scramble */
16. X1floor((X1 + 1) × 10,000)
17. X2floor((X2 + 1) × 10,000)
18. for d←−(n − 1) to (n − 1) do
19.        for p←1 to n do
20.              qd + p
21.        if q ≧ 1 && q ≦ n
22.                steps j X2;
23.               P1P2 (− steps j )
24.        end
25. end
26. for d←2 to 2 × n do
27.        for p←1 to n do
28.             qdp
29.        if q ≧ 1 && q ≦ n
30.               stepsjX1;
31.               PP1 (−stepsj)
32.        end
33. end

4. Experimental Results

To evaluate the performance of the proposed encryption algorithm, MATLAB R2023b was used as the simulation platform. The experimental configuration was as follows: AMD Ryzen 7 7840H with Radeon 780M Graphics, 3.80 GHz, and 16 GB of RAM. The images used in this paper were obtained from the USC Signal and Image Processing Institute image database (http://sipi.usc.edu/database, accessed on 12 March 2026). Figure 10 shows the results of encrypting and decrypting 512 × 512 images of Lena, Peppers, Baboon, Aerial, and Boat using the proposed algorithm. It can be seen that the encrypted images are cluttered and noise-like, effectively concealing the plaintext information. Meanwhile, the decrypted images are identical to the plaintext images, which shows that the proposed algorithm can recover the plaintext information without distortion. Therefore, information security is effectively ensured.

4.1. Key Space Analysis

The key space refers to the total number of all possible keys. Generally, a key space is considered secure if its scale exceeds 2100. A larger key space indicates stronger resistance of the algorithm to brute-force attacks.
(1)
From the perspective of key generation, the key is a 256-bit hash digest generated by the SHA-256 algorithm; thus, the key space of the encryption algorithm is 2256.
(2)
From the perspective of chaotic parameters, the key adopted in the proposed algorithm consists of the control parameters μ, μ , and the initial values x0, y0, x 0 , and y 0 of the chaotic system. Given that the computational precision of the computer is 10−14, the key space of the encryption algorithm is calculated as 1014 × 6 ≈ 2279 >> 2100.
Therefore, the final key space is determined as the minimum value of the two aforementioned key spaces, namely 2256. Since 2256 >> 2100, the proposed encryption algorithm possesses excellent resistance to brute-force attacks.

4.2. Key Sensitivity Analysis

Key sensitivity refers to the property that the encrypted image changes drastically when there is an extremely small change in the key, or that the decrypted image becomes irrelevant to the original image, making it impossible to recover the correct plaintext image. In this algorithm, the key consists of the control parameter μ, μ , and the initial conditions x0, y0, x 0 , and y 0 . After encrypting the plaintext image using these keys, the ciphertext image is decrypted using an incorrect key. In order to better evaluate key sensitivity, decryption is performed by perturbing μ by a very small value of 10−14. Figure 11 shows the decrypted image using the incorrect key, and it can be seen that the decrypted image is completely inconsistent with the original image.

4.3. Histogram Analysis

A histogram is a visual depiction of the pixel-value distribution in an image, i.e., it shows the frequency of each gray level in the image. If all gray-value frequencies in a ciphertext image are approximately equal, then its corresponding histogram should be flat and resistant to statistical analysis attacks. The histograms of the plaintext and ciphertext images are shown in Figure 12. It can be seen that the histogram of the plaintext image fluctuates significantly, which makes it easy for an attacker to perform statistical analysis attacks. However, the histogram of the ciphertext image is relatively flat, indicating that the ciphertext image effectively conceals the information in the plaintext image. Therefore, the proposed encryption algorithm can effectively resist statistical analysis attacks.

4.4. Information Entropy

Information entropy is an important measure of the distribution of pixel grayscale values in an encrypted image. An image with higher information entropy indicates a more uniform distribution of pixel values, whereas an image with lower information entropy indicates a more concentrated distribution of pixel values. Information entropy is calculated as follows:
H ( X ) = i = 1 n p ( x i ) log 2 1 p ( x i ) ,
where n represents the number of pixels, xi ∈ [0, 255] represents the pixel value of the grayscale image, and p(xi) represents the frequency of occurrence of pixel xi. Generally speaking, the theoretical maximum value of information entropy is 8. The standard deviation of different images is calculated as shown in Table 2. The information entropy values of the proposed algorithm and similar existing image encryption algorithms are shown in Table 3. The information entropy of the proposed algorithm is close to the theoretical value; therefore, the pixel distribution of the encrypted image is highly uniform with high randomness, and it can better resist information entropy attacks.

4.5. Correlation Analysis

Correlation analysis quantifies the degree of association between two or more variables and their direction by calculating the correlation coefficient (e.g., Pearson’s coefficient). It is widely used in data research and image processing, for example, to assess the continuity or anomalous features of neighboring pixels. The correlation coefficient is calculated as follows:
r a b = i = 1 n ( a i a ¯ ) ( b i b ¯ ) i = 1 n ( a i a ¯ ) 2 i = 1 n ( b i b ¯ ) 2
where rab is the correlation coefficient and a   ¯ and b ¯ are the means.
Figure 13 illustrates the correlation of neighboring pixels in the horizontal, vertical, and diagonal directions of the image before and after encryption. In the 3D coordinate system, the x-axis marks the spatial direction of the pixel (H horizontal, V vertical, D diagonal), the y-axis represents the gray value of the target pixel, and the z-axis corresponds to the gray value of its neighboring pixels. For plaintext images, due to the highly similar gray values of neighboring pixels, the data points are centrally distributed near a linear trajectory, regardless of the horizontal, vertical, or diagonal directions, reflecting a strong spatial correlation. In the encrypted image, on the other hand, the inter-pixel correlation is significantly disrupted, and the data points show an irregular discrete distribution. The more scattered the distribution (i.e., the higher the dispersion of the correlation map), the stronger the degree of pixel misalignment, and the more significant the effect of the encryption algorithm on perturbing image features. Table 4 shows the correlation coefficients of plaintext and encrypted images. The correlation coefficients of plaintext images are close to 1, whereas the correlation coefficients of encrypted images are close to 0. Therefore, the proposed algorithm is effective in removing the correlation between image pixels.

4.6. Differential Attacks

A secure encryption algorithm should be highly sensitive to small changes in pixel values in the plaintext image, i.e., the ciphertext image obtained after changing any pixel value in the plaintext image and the ciphertext image obtained from the original plaintext image should be completely different. The Number of Pixels Change Rate (NPCR) and the Unified Average Changing Intensity (UACI) are two important indicators used to evaluate the sensitivity of encryption algorithms to plaintext, i.e., their ability to resist differential attacks. The ideal values of NPCR and UACI are about 99.6094% and 33.4635%, respectively. The closer the NPCR and UACI values are to the ideal values, the more sensitive the encryption algorithm is to the plaintext image, i.e., the more resistant the encryption algorithm is to differential attacks. NPCR and UACI can be computed as follows:
N P C R = i , j D ( i , j ) M × N × 100 %   ,
U A C I = 1 M × N i , j c 1 ( i , j ) c 2 ( i , j ) 255 × 100 %   ,
where C1 and C2 represent the encrypted image of the plaintext image and the encrypted image of the plaintext image after a pixel value has been changed, respectively. During the experiments, a pixel value is randomly selected in the plaintext image and modified. The difference image is generated by calculating the absolute difference between the two cipher images obtained by altering a single pixel in the plaintext image. Figure 14 shows the difference images. It exhibits obvious and uniform differences, from which no meaningful information can be identified. Table 5 shows the test results of the two encrypted images obtained before and after the pixel value change using the proposed encryption algorithm.

4.7. Chosen Plaintext Attacks

Plaintext attacks are also among the methods used by attackers to crack ciphertext images. The effectiveness of a chosen plaintext attack is usually evaluated by encrypting a special image that is either all black or all white. Figure 15 shows the encrypted images, histograms, and correlation analysis of the all-black and all-white images, and the resulting encrypted images are cluttered and noisy, containing no meaningful information, which indicates that the proposed algorithm has strong resistance to plaintext attacks.

4.8. Cropping Attacks

During the transmission of encrypted images, the images are susceptible to channel interference, which changes the pixel values of the images. In this experiment, the missing data is filled with zeros. Decryption is performed on the cropped encrypted image. The decryption results for Lena and the Baboon are shown in Figure 16 and Figure 17, respectively. Also, for the other images cropped according to Lena’s cropping format, the corresponding PSNR values are shown in Table 6. The PSNR performance degradation curve with cropping ratio is shown in Figure 18. It can be seen that the decrypted images still retain the information of the original images. Therefore, it can be concluded that the proposed algorithm has good resistance to cropping attacks.

4.9. Noise Attacks

The ciphertext image is easily affected by noise during transmission, which may affect the correct decryption of the image. Taking the Peppers grayscale image of size 512 × 512 as an example, Figure 19b–d show the decrypted images with different densities of salt-and-pepper noise, where the noise densities are 0.05, 0.1, and 0.2, respectively. Meanwhile, different densities of salt-and-pepper noise are also added to the other images, and the corresponding PSNR values are shown in Table 7. The PSNR performance degradation curves under noise intensity are shown in Figure 20. It can be seen that the decrypted images remain recognizable, which indicates that the proposed encryption algorithm can resist a certain degree of salt-and-pepper noise attack.

4.10. Computational Complexity Analysis

Computational complexity measures the computational resources required by an algorithm. The proposed encryption algorithm consists of three main components: a chaotic phase, a scrambling phase, and a diffusion phase. Assuming the size of the encrypted image is m × n, the complexity of the chaotic phase is O(m × n + m + n), and since m + nm × n, the complexity of this stage remains O(m × n). For the scrambling phase, the complexity is O(m × n). For the diffusion phase, the complexity is O(m × n). Therefore, the overall computational complexity of the proposed encryption algorithm is O(3 × m × n). Figure 21 shows the execution times of specific encryption processes as a percentage of the total encryption time.

5. Conclusions and Outlook

In this paper, a novel two-dimensional chaotic system (2D-SCMM) is proposed and applied to image encryption, exhibiting excellent randomness, high complexity, and strong initial condition sensitivity through comprehensive experiments (including NIST tests and statistical analysis), thereby meeting the core requirements for image encryption. The rotating dial model is innovatively introduced in the diffusion phase to enhance sensitivity and anti-attack capability, while a cyclic-shift diagonal-transform scrambling method is designed to reduce pixel correlation. The integration of these components provides a new design approach for secure image encryption. Experimental results confirm the algorithm’s excellent information-hiding capability and resistance to common attacks (e.g., noise, cropping), with high security and practicality.
Future work will include chaos game representation [50] (CGR) analysis to verify the ergodicity and structural complexity of the 2D chaotic map, hybridizing continuous chaotic dynamics with discrete mechanisms for robustness [51] and parallel implementation, extending the scheme to color image encryption with inter-channel coupling, and optimizing computational efficiency without compromising core security principles. Moreover, we will implement the algorithm on GPU or FPGA platforms to evaluate its running speed, resource consumption, and energy consumption, thereby further verifying its practicability in real-time image transmission scenarios.

Author Contributions

Conceptualization, X.Z. and H.H.; methodology, H.H.; software, H.H.; validation, X.Z. and H.H.; formal analysis, H.H.; investigation, H.H.; resources, H.H.; data curation, H.H.; writing—original draft preparation, H.H.; writing—review and editing, X.Z. and H.H.; visualization, H.H.; supervision, H.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Some or all of the data generated or used in this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Chen, Y.; Huang, H.; Tang, C.; Wei, W. A novel adaptive image privacy protection method based on Latin square. Nonlinear Dyn. 2024, 112, 10485–10508. [Google Scholar] [CrossRef]
  2. Chen, Z.; Yan, Y.; Pan, J.; Zhu, H.; Liu, Y. An encryption scheme for MQIR based on binary key image and qubit rotation. Nonlinear Dyn. 2023, 111, 22621–22644. [Google Scholar] [CrossRef]
  3. Sahin, M.E. Memristive chaotic system-based hybrid image encryption application with AES and RSA algorithms. Phys. Scr. 2023, 98, 075216. [Google Scholar] [CrossRef]
  4. Wu, L.; Tian, Z.; Chen, W. Color image encryption scheme based on 5D fractional-order complex chaotic system and eight-base DNA cubes. Expert Syst. Appl. 2026, 299, 129950. [Google Scholar] [CrossRef]
  5. Torres-Muñoz, D.; Vázquez-Leal, H.; Hernández-Mejía, C. Exploring a novel fusion-scheme based on mathematical equation system for encryption-image algorithm. Multimed. Tools Appl. 2020, 79, 24873–24888. [Google Scholar] [CrossRef]
  6. Wang, P.; Liu, X.; Xu, J.; Lu, C. A novel image encryption method based on the cycle replacement. Phys. Scr. 2024, 99, 105260. [Google Scholar] [CrossRef]
  7. Raghuvanshi, K.K.; Kumar, S.; Kumar, S.; Kumar, S. Image encryption algorithm based on DNA encoding and CNN. Expert Syst. Appl. 2024, 252, 124287. [Google Scholar] [CrossRef]
  8. Wang, L.; Chen, Z.; Sun, X.; He, C. Region of interest encryption algorithm for images based on lifting scheme and object detection. Clust. Comput. J. Netw. Softw. Tools Appl. 2025, 28, 8. [Google Scholar] [CrossRef]
  9. Wang, S.; Hong, L.; Jiang, J. Visual double image encryption scheme based on multilayer complex networks and wavelet transform. Nonlinear Dyn. 2024, 112, 13599–13619. [Google Scholar] [CrossRef]
  10. Wen, H.; Feng, Z.; Bai, C.; Lin, Y.; Zhang, X.; Feng, W. Frequency-domain image encryption based on IWT and 3D S-box. Phys. Scr. 2024, 99, 055254. [Google Scholar] [CrossRef]
  11. Kang, S.W.; Choi, U.S. Image Encryption Based on 5-Neighbor Programmable Cellular Automata. In Proceedings of the 27th Asia-Pacific Conference on Communications (APCC)—Creating Innovative Communication Technologies for Post-Pandemic Era, Jeju Island, Korea, Republic of Korea, 19–21 October 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 566–571. [Google Scholar]
  12. Lv, W.; Fu, C.; Chai, X.; Zhang, L.Y.; Chen, J. An image encryption scheme based on elementary and life-liked cellular automatons. Phys. Scr. 2023, 98, 085211. [Google Scholar] [CrossRef]
  13. Gao, X.; Sun, B.; Cao, Y.; Banerjee, S.; Mou, J. A color image encryption algorithm based on hyperchaotic map and DNA mutation. Chin. Phys. B 2023, 32, 030501. [Google Scholar] [CrossRef]
  14. Liu, J.; Chang, H.; Ran, W.; Wang, E. Research on Improved DNA Coding and Multidirectional Diffusion Image Encryption Algorithm. Entropy 2023, 25, 746. [Google Scholar] [CrossRef]
  15. Bouteghrine, B.; Tanougast, C.; Sadoudi, S. Novel image encryption algorithm based on new 3-d chaos map. Multimed. Tools Appl. 2021, 80, 25583–25605. [Google Scholar] [CrossRef]
  16. Çelik, H.; Doğan, N. A hybrid color image encryption method based on extended logistic map. Multimed. Tools Appl. 2024, 83, 12627–12650. [Google Scholar] [CrossRef]
  17. Liu, Y.; Teng, L. An image encryption algorithm based on a new Sine-Logistic chaotic system and block dynamic Josephus scrambling. Eur. Phys. J. Plus 2024, 139, 554. [Google Scholar] [CrossRef]
  18. Zou, C.; Liu, Y.; Yang, Y.; Zhou, C.; Yu, Y.; Shang, Y. A privacy-preserving license plate encryption scheme based on an improved YOLOv8 image recognition algorithm. Signal Process. 2025, 230, 109811. [Google Scholar] [CrossRef]
  19. Li, P.; Zhang, X. Image encryption algorithm based on a novel cascade chaotic system and DNA mutation. Phys. Scr. 2024, 99, 105203. [Google Scholar] [CrossRef]
  20. Cai, C.; Wang, Y.; Cao, Y.; Sun, B.; Mou, J. Multiple remote sensing image encryption scheme based on saliency extraction and magic cube circular motion. Appl. Intell. 2024, 54, 5944–5960. [Google Scholar] [CrossRef]
  21. Panwar, A.; Biban, G.; Chugh, R.; Tassaddiq, A.; Alharbi, R. An efficient image encryption model based on 6D hyperchaotic system and symmetric matrix for color and gray images. Heliyon 2024, 10, e31618. [Google Scholar] [CrossRef] [PubMed]
  22. Sun, J.-Y.; Cai, H.; Zhang, H. A novel image encryption algorithm combined complex order chaotic system and modified AES. Multimed. Tools Appl. 2024, 83, 40361–40376. [Google Scholar] [CrossRef]
  23. Verma, V.; Kumar, S.; Rani, N. Novel image encryption algorithm using hybrid 3D-ICPCM and hessenberg decomposition. Nonlinear Dyn. 2024, 112, 10583–10609. [Google Scholar] [CrossRef]
  24. Zhang, W.; Xu, J.; Zhao, B. DNA image encryption algorithm based on serrated spiral scrambling and cross bit plane. J. King Saud. Univ.-Comput. Inf. Sci. 2023, 35, 101858. [Google Scholar]
  25. Dong, Y.; Yin, C.; Xu, C.; Yan, R. A quantum image encryption method for dual chaotic systems based on quantum logistic mapping. Phys. Scr. 2024, 99, 015103. [Google Scholar]
  26. Chen, Y.; Xie, S.; Zhang, J. A novel double image encryption algorithm based on coupled chaotic system. Phys. Scr. 2022, 97, 065207. [Google Scholar] [CrossRef]
  27. Fei, X.; Zhang, J.; Qin, W. Design a new image encryption algorithm based on a 2D-ASCC map. Phys. Scr. 2022, 97, 125206. [Google Scholar] [CrossRef]
  28. Zhang, Z.; Tang, J.; Ni, H.; Huang, T. Image adaptive encryption algorithm using a novel 2D chaotic system. Nonlinear Dyn. 2023, 111, 10629–10652. [Google Scholar] [CrossRef]
  29. Huang, X.; Tang, J.; Zhang, Z. Efficient and secure image encryption algorithm using 2D LIM map and Latin square matrix. Nonlinear Dyn. 2024, 112, 22463–22483. [Google Scholar] [CrossRef]
  30. Zhou, Z.; Xu, X.; Yao, Y.; Jiang, Z.; Sun, K. Novel multiple-image encryption algorithm based on a two-dimensional hyperchaotic modular model. Chaos Solitons Fractals 2023, 173, 113630. [Google Scholar]
  31. Gao, Q.; Zhang, X. Multiple-image encryption algorithm based on a new composite chaotic system and 3D coordinate matrix. Chaos Solitons Fractals 2024, 189, 115587. [Google Scholar] [CrossRef]
  32. Wu, W.; Kong, L. Image encryption algorithm based on a new 2D polynomial chaotic map and dynamic S-box. Signal Image Video Process. 2024, 18, 3213–3228. [Google Scholar] [CrossRef]
  33. Zhang, X.; Liu, M.; Niu, Y. Facial image encryption scheme based on improved 4-D hyperchaotic system. J. Supercomput. 2025, 81, 454. [Google Scholar] [CrossRef]
  34. Wang, Q.; Zhang, X.; Zhao, X. Image encryption algorithm based on 2D hyper-chaotic system and central dogma of molecular biology. Phys. Scr. 2023, 98, 085244. [Google Scholar] [CrossRef]
  35. Zhu, H.; Dai, L.; Liu, Y.; Wu, L. A three-dimensional bit-level image encryption algorithm with Rubik’s cube method. Math. Comput. Simul. 2021, 185, 754–770. [Google Scholar] [CrossRef]
  36. Lai, Q.; Liu, Y. A meaningful image encryption method based on dynamic update pixel diffusion and 2D hyperchaotic map. Nonlinear Dyn. 2024, 112, 14527–14546. [Google Scholar] [CrossRef]
  37. 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]
  38. Wang, M.; Liu, H.; Zhao, M. Bit-level image encryption algorithm based on random-time S-Box substitution. Eur. Phys. J. Spec. Top. 2022, 231, 3225–3237. [Google Scholar] [CrossRef]
  39. Shao, S.; Li, J.; Shao, P.; Xu, G. Chaotic Image Encryption Using Piecewise-Logistic-Sine Map. IEEE Access 2023, 11, 27477–27488. [Google Scholar] [CrossRef]
  40. Nan, S.-X.; Feng, X.-F.; Wu, Y.-F.; Zhang, H. Remote sensing image compression and encryption based on block compressive sensing and 2D-LCCCM. Nonlinear Dyn. 2022, 108, 2705–2729. [Google Scholar] [CrossRef]
  41. 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]
  42. Chen, R.; Li, X.; Teng, L.; Wang, X. Selective region medical image encryption algorithm based on cascade chaos and two-dimensional Joseph traversal. Phys. Scr. 2023, 98, 035227. [Google Scholar] [CrossRef]
  43. Wang, Q.; Zhang, X.; Zhao, X. Image encryption algorithm based on improved iterative chaotic map with infinite collapses and Gray code. Phys. Scr. 2024, 99, 025232. [Google Scholar] [CrossRef]
  44. Zhu, H.; Ge, J.; He, J.; Zhang, L. A non-degenerate chaotic bits XOR system with application in image encryption. Math. Comput. Simul. 2024, 219, 231–250. [Google Scholar] [CrossRef]
  45. Zhang, X.; Zhang, X. Image encryption algorithm based on the Matryoshka transform and modular-inverse matrix. Nonlinear Dyn. 2023, 111, 22645–22678. [Google Scholar] [CrossRef]
  46. Huang, L.; Chai, B.; Xiang, J.; Zhang, Z.; Liu, J. Chaotic image encryption based on spiral traversal and finite field bidirectional diffusion. Phys. Scr. 2023, 98, 035217. [Google Scholar] [CrossRef]
  47. Mao, N.; Tong, X.; Zhang, M.; Wang, Z. Real-time image encryption algorithm based on combined chaotic map and optimized lifting wavelet transform. J. Real-Time Image Process. 2023, 20, 35. [Google Scholar] [CrossRef]
  48. Wu, X.; Shi, H.; Ji’e, M.; Duan, S.; Wang, L. A novel image compression and encryption scheme based on conservative chaotic system and DNA method. Chaos Solitons Fractals 2023, 172, 113492. [Google Scholar] [CrossRef]
  49. Jiang, S.; Li, Y.; Shi, J.; Zhang, R. Double quantum images encryption scheme based on chaotic system. Chin. Phys. B 2024, 33, 040306. [Google Scholar] [CrossRef]
  50. Mehrpooya, A.; Tavassoly, I. Complexity and ergodicity in chaos game representation of genomic sequences. BioRxiv 2023. [Google Scholar] [CrossRef]
  51. Sun, S.; Yang, W.; Yin, Y.; Tian, X.; Li, G.; Deng, X. A color image encryption scheme utilizing a logistic-sine chaotic map and cellular automata. Sci. Rep. 2025, 15, 21603. [Google Scholar] [CrossRef]
Figure 2. Lyapunov exponent spectra: (a) Lyapunov exponent spectra for the 2D-SCMM; (b) comparison of LE1; (c) comparison of LE2.
Figure 2. Lyapunov exponent spectra: (a) Lyapunov exponent spectra for the 2D-SCMM; (b) comparison of LE1; (c) comparison of LE2.
Entropy 28 00530 g002
Figure 3. Sensitivity analysis: (a) sensitivity of x to control parameters; (b) sensitivity of y to control parameters; (c) sensitivity of x to initial values; (d) sensitivity of y to initial values.
Figure 3. Sensitivity analysis: (a) sensitivity of x to control parameters; (b) sensitivity of y to control parameters; (c) sensitivity of x to initial values; (d) sensitivity of y to initial values.
Entropy 28 00530 g003
Figure 4. Sample entropy: (a) logistic map; (b) sine map; (c) cubic map; (d) 2D-SCMM.
Figure 4. Sample entropy: (a) logistic map; (b) sine map; (c) cubic map; (d) 2D-SCMM.
Entropy 28 00530 g004
Figure 5. Diagonal cyclic-shift transformation: (a) anti-diagonal cyclic shift (direction indicated by red arrows); (b) pixels after anti-diagonal cyclic shift; (c) main diagonal cyclic shift (direction indicated by yellow arrows); (d) pixels after main diagonal cyclic shift.
Figure 5. Diagonal cyclic-shift transformation: (a) anti-diagonal cyclic shift (direction indicated by red arrows); (b) pixels after anti-diagonal cyclic shift; (c) main diagonal cyclic shift (direction indicated by yellow arrows); (d) pixels after main diagonal cyclic shift.
Entropy 28 00530 g005
Figure 6. Rotary dial telephone.
Figure 6. Rotary dial telephone.
Entropy 28 00530 g006
Figure 7. Schematic diagram of the rotating dial model.
Figure 7. Schematic diagram of the rotating dial model.
Entropy 28 00530 g007
Figure 8. Encryption flowchart.
Figure 8. Encryption flowchart.
Entropy 28 00530 g008
Figure 9. Decryption flowchart.
Figure 9. Decryption flowchart.
Entropy 28 00530 g009
Figure 10. Experimental results.
Figure 10. Experimental results.
Entropy 28 00530 g010
Figure 11. Images decrypted using incorrect keys.
Figure 11. Images decrypted using incorrect keys.
Entropy 28 00530 g011
Figure 12. Histograms of plaintext images and encrypted images.
Figure 12. Histograms of plaintext images and encrypted images.
Entropy 28 00530 g012
Figure 13. Correlation analysis of plaintext images and encrypted images in three directions.
Figure 13. Correlation analysis of plaintext images and encrypted images in three directions.
Entropy 28 00530 g013
Figure 14. Difference images: (a) Lena; (b) Peppers; (c) Baboon; (d) Aerial.
Figure 14. Difference images: (a) Lena; (b) Peppers; (c) Baboon; (d) Aerial.
Entropy 28 00530 g014
Figure 15. Encrypted images, histograms, and correlation analysis for black and white images.
Figure 15. Encrypted images, histograms, and correlation analysis for black and white images.
Entropy 28 00530 g015
Figure 16. Cropping attack analyses of Lena: (a) crop 1/16; (b) crop 1/8; (c) crop 1/4; (d) crop 1/2; (e) decrypted image of (a); (f) decrypted image of (b); (g) decrypted image of (c); (h) decrypted image of (d).
Figure 16. Cropping attack analyses of Lena: (a) crop 1/16; (b) crop 1/8; (c) crop 1/4; (d) crop 1/2; (e) decrypted image of (a); (f) decrypted image of (b); (g) decrypted image of (c); (h) decrypted image of (d).
Entropy 28 00530 g016
Figure 17. Cropping attack analyses of Baboon: (a) crop 1/16; (b) crop 1/8; (c) crop 1/4; (d) crop 1/2; (e) decrypted image of (a); (f) decrypted image of (b); (g) decrypted image of (c); (h) decrypted image of (d).
Figure 17. Cropping attack analyses of Baboon: (a) crop 1/16; (b) crop 1/8; (c) crop 1/4; (d) crop 1/2; (e) decrypted image of (a); (f) decrypted image of (b); (g) decrypted image of (c); (h) decrypted image of (d).
Entropy 28 00530 g017
Figure 18. PSNR performance degradation curves under cropping ratios: (a) Baboon; (b) Boat; (c) Peppers; (d) Aerial.
Figure 18. PSNR performance degradation curves under cropping ratios: (a) Baboon; (b) Boat; (c) Peppers; (d) Aerial.
Entropy 28 00530 g018
Figure 19. Noise attack results: (a) decrypted Baboon without noise; (b) decrypted Baboon with 0.05 noise density; (c) decrypted Baboon with 0.1 noise density; (d) decrypted Baboon with 0.2 noise density.
Figure 19. Noise attack results: (a) decrypted Baboon without noise; (b) decrypted Baboon with 0.05 noise density; (c) decrypted Baboon with 0.1 noise density; (d) decrypted Baboon with 0.2 noise density.
Entropy 28 00530 g019
Figure 20. PSNR performance degradation curves under noise intensity: (a) Baboon; (b) Boat; (c) Peppers; (d) Aerial.
Figure 20. PSNR performance degradation curves under noise intensity: (a) Baboon; (b) Boat; (c) Peppers; (d) Aerial.
Entropy 28 00530 g020
Figure 21. Time consumed for each process of the proposed algorithm (%).
Figure 21. Time consumed for each process of the proposed algorithm (%).
Entropy 28 00530 g021
Table 1. NIST test results of the 2D-SCMM.
Table 1. NIST test results of the 2D-SCMM.
Statistical Testp-ValueResult
x(n)y(n)
Frequency0.72780.1014Passed
Block Frequency0.43700.4329Passed
Runs0.09820.8582Passed
Longest Run0.73690.8364Passed
Rank0.02350.0192Passed
FFT0.02550.3840Passed
Non-overlapping Template0.13470.6563Passed
Overlapping Template0.84520.8015Passed
Universal0.69130.0992Passed
Linear Complexity0.60320.3675Passed
Serial Test (p-value 1)0.02980.0770Passed
Serial Test (p-value 2)0.08200.2228Passed
Approximate Entropy0.32010.4215Passed
Cumulative Sums (forward)0.99980.9963Passed
Cumulative Sums (reverse)0.97510.9925Passed
Excursions (X = 1)0.19380.8878Passed
Excursions Variant (X = 1)0.03660.3228Passed
Table 6. PSNR values under cropping attacks.
Table 6. PSNR values under cropping attacks.
Cropping AreaLenaBaboonPeppersBoat
1/1621.387221.473820.439121.4060
1/818.380118.485117.401118.4265
1/415.084815.502614.575515.3446
1/212.195412.484911.452112.3138
Table 7. PSNR values under noise attacks.
Table 7. PSNR values under noise attacks.
Noise IntensityBaboonBoatPeppersAerial
0.0522.460322.665221.476721.1409
0.119.510419.623518.452518.1560
0.216.466016.615315.436815.1309
Table 2. Standard deviation of different images.
Table 2. Standard deviation of different images.
AlgorithmImagePlainCipher
ProposedLena47.852073.7475
Peppers59.403073.7029
Baboon42.301073.6333
Aerial39.444473.7257
Boat46.677273.6771
Tank27.056873.6529
Clock57.249273.8381
Airplane22.118673.7225
Truck27.063473.5983
Table 3. Entropy of different images.
Table 3. Entropy of different images.
AlgorithmImagePlainCipher
ProposedLena7.44567.9993
Peppers7.57157.9993
Baboon7.35797.9992
Aerial6.99407.9993
Boat7.19147.9993
Tank5.49577.9992
Clock6.70577.9993
Airplane4.00457.9991
Truck6.02747.9993
Ref. [32]Lena7.44567.9967
Peppers7.57157.9994
Ref. [34]Baboon7.35797.9974
Peppers7.57157.9977
Ref. [45]Peppers7.57157.9992
Baboon7.35797.9993
Boat7.19147.9991
Ref. [46]Peppers7.57157.9993
Baboon7.35797.9994
Boat7.19147.9992
Ref. [47]Peppers7.57157.9975
Ref. [48]Peppers7.57157.9948
Ref. [49]Peppers7.57157.9971
Table 4. Correlation coefficients of different images.
Table 4. Correlation coefficients of different images.
Plain ImageTest ImageHorizontalVerticalDiagonal
LenaPlain image0.97190.98490.9591
Encrypted image0.00070.00210.0044
PeppersPlain image0.97600.98090.9663
Encrypted image0.00250.0024−0.0037
BaboonPlain image0.86670.74980.7158
Encrypted image0.00050.0044−0.0009
AerialPlain image0.90070.85340.7889
Encrypted image−0.00270.00160.0018
BoatPlain image0.93830.97150.9224
Encrypted image0.0013−0.00240.00049
Peppers [19]Encrypted image0.0027−0.0013−0.0014
Baboon [19]Encrypted image0.00340.00220.0057
Lena [31]Encrypted image0.0027−0.0023−0.0018
Peppers [31]Encrypted image−0.00130.00160.0013
Baboon [34]Encrypted image−0.0051−0.00820.0060
Peppers [45]Encrypted image0.0024−0.0011−0.0002
Baboon [45]Encrypted image−0.0025−0.0026−0.0031
Boat [45]Encrypted image−0.0024−0.00500.0084
Peppers [48]Encrypted image0.0026−0.00370.0017
Table 5. NPCR and UACI results.
Table 5. NPCR and UACI results.
Test ImageNPCRUACI
Lena99.628133.4608
Peppers99.605933.4366
Baboon99.592233.4687
Aerial99.584633.3913
Boat99.594133.4169
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.

Share and Cite

MDPI and ACS Style

Zhang, X.; Hu, H. Image Encryption Algorithm Based on a New Two-Dimensional Chaotic System and Rotating Dial Model. Entropy 2026, 28, 530. https://doi.org/10.3390/e28050530

AMA Style

Zhang X, Hu H. Image Encryption Algorithm Based on a New Two-Dimensional Chaotic System and Rotating Dial Model. Entropy. 2026; 28(5):530. https://doi.org/10.3390/e28050530

Chicago/Turabian Style

Zhang, Xiaoqiang, and Haoran Hu. 2026. "Image Encryption Algorithm Based on a New Two-Dimensional Chaotic System and Rotating Dial Model" Entropy 28, no. 5: 530. https://doi.org/10.3390/e28050530

APA Style

Zhang, X., & Hu, H. (2026). Image Encryption Algorithm Based on a New Two-Dimensional Chaotic System and Rotating Dial Model. Entropy, 28(5), 530. https://doi.org/10.3390/e28050530

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop