Abstract
Protecting medical images requires encryption methods that combine cryptographic key management with validated nonlinear transformations and effective diffusion mechanisms. This study proposes an encryption-instance-specific framework based on a CSPRNG-generated 256-bit session secret, HMAC-SHA-512-based HKDF with public NOAA/SWPC temporal context, a modified four-dimensional fractional-order Chen system, adaptive bit-plane permutation, position-dependent dynamic DNA transformation, and SPARKLE256-based two-pass ARX-duplex diffusion. The fractional operating region was evaluated through boundedness, Lyapunov-spectrum, bifurcation, phase-portrait, and modified 0–1 chaos analyses. All 10,000 sampled parameter triplets remained finite and bounded, all 1000 Lyapunov-grid configurations satisfied the hyperchaos criterion, and the minimum second Lyapunov exponent was 0.0546; the modified 0–1 test accepted all 35 representative cases with a median K value of 0.9971. For encrypted standard benchmark and medical images, entropy ranged from 7.9966 to 7.9978 bits. Across the 11 test images, the mean RGB NPCR and UACI values were 99.6115% and 33.4546%, respectively, while the corresponding grayscale means were 99.5999% and 33.4608%. Under NIST SP 800-22, the fractional modified Chen keystream satisfied 187 of 188 subtest rows (99.47%), while the operational ciphertext satisfied 185 of 188 rows (98.40%). In the 111-row Dieharder evaluation, the keystream produced 109 passed, 2 weak, and 0 failed outcomes, whereas the ciphertext produced 106 passed, 5 weak, and 0 failed outcomes. The optimized CPU implementation encrypted a 256 × 256 RGB image in 1356.327 ms, representing a 74.26-fold speedup relative to the 100,722.174 ms pure-Python 3.10.20 baseline. Overall, the results demonstrate strong statistical and differential characteristics while showing that the fractional-order chaotic generator remains the principal computational component of the proposed framework.
1. Introduction
The rapid digitalization of healthcare and the growing use of telemedicine have substantially increased the transmission, storage, and exchange of medical images across networked environments. Because these images contain sensitive diagnostic information and are often associated with patient records, their protection during transmission and storage has become an important requirement in modern healthcare systems [1,2]. Regulatory requirements such as the Health Insurance Portability and Accountability Act (HIPAA) Security Rule further reinforce the need to protect electronic protected health information (ePHI) through appropriate administrative, physical, and technical safeguards that ensure its confidentiality, integrity, and availability [3]. In this context, encryption provides a principal mechanism for protecting the confidentiality of medical-image data, while integrity and authenticity may require complementary protection mechanisms [1].
Digital images exhibit distinctive structural characteristics, including strong inter-pixel correlation, high data redundancy, and large data volume. These properties have motivated the development of encryption methods that explicitly consider the organization and statistical structure of image data. Standard cryptographic algorithms such as AES continue to provide a strong security foundation and remain widely used for image protection; however, image-encryption research has also explored specialized structures designed to address spatial redundancy and inter-pixel dependencies [4]. Complementary image-protection approaches have also been investigated outside the encryption domain. For example, Abdallah et al. proposed a block-based watermarking scheme that applies the fast Hadamard transform (FHT) to image blocks and embeds the singular values of the watermark image, obtained by singular value decomposition (SVD), into the DC components of the transformed blocks, thereby improving robustness against common image-processing attacks [5]. Such watermarking schemes primarily support ownership verification and related content-protection objectives while preserving the perceptual content of the host image; they therefore complement, rather than replace, encryption methods that conceal the image content. Within the encryption domain, a foundational chaos-based image-encryption architecture combines key-dependent pixel permutation with diffusion so that spatial information is rearranged and local plaintext changes propagate through the encrypted image [6]. Such methods are commonly assessed in terms of key sensitivity, resistance to statistical and differential attacks, computational efficiency, scalability, and encryption speed [4]. These structural and practical considerations have encouraged the development of image-oriented encryption architectures beyond conventional block-cipher processing. Among them, chaos-based methods have received considerable attention because chaotic systems exhibit pseudo-random behavior, sensitivity to initial conditions, and ergodicity, which are useful properties for constructing nonlinear transformations and pseudorandom sequences for image encryption [7].
Chaotic systems exhibit properties that are useful for cryptographic sequence generation, including sensitivity to initial conditions and system parameters, ergodicity, pseudo-random behavior, and deterministic unpredictability. Hyperchaotic systems extend this behavior by exhibiting two or more positive Lyapunov exponents, corresponding to simultaneous divergence along multiple phase-space directions and providing a richer dynamical structure for pseudorandom sequence generation [7,8]. Four-dimensional Chen-type hyperchaotic systems have consequently been employed in image-encryption architectures as nonlinear generators, with their multiple state variables and control parameters providing additional flexibility for key-controlled trajectory generation [7,9]. However, the use of a higher-dimensional or hyperchaotic system does not by itself establish cryptographic superiority; its admissible operating region and the statistical properties of the sequences generated under the actual numerical implementation must also be validated.
Fractional-order formulations introduce a qualitatively different extension by replacing instantaneous integer-order state evolution with nonlocal, history-dependent dynamics. Fractional derivatives retain contributions from previous states, while the derivative order provides an additional dynamical degree of freedom that can be controlled independently of the original system parameters [8,10,11]. This distinction is structural rather than merely an increase in the number of tunable parameters. In the Grünwald–Letnikov realization adopted in this work, the integer-order limit α = 1 reduces to a single-step four-dimensional recurrence, whereas α < 1 retains a finite history of previous states and therefore changes the effective state evolution of the generator. Fractional-order Chen systems have previously been employed for image-encryption and pseudorandom-sequence generation [7,9], but the present work does not assume that fractional-order chaos is universally superior to its integer-order counterpart. Indeed, comparative evaluations of different fractional-order chaotic systems show that no single model consistently dominates all image-encryption metrics [12]. The motivation here is therefore dynamical rather than based on marginal improvements in downstream ciphertext metrics: the fractional formulation introduces history dependence and an independently key-controlled order parameter, and the operating-region analysis in Section 3.3 shows that the second Lyapunov exponent reaches its strongest values within the fractional band rather than at the integer-order limit. These additional dynamical characteristics are obtained at a measurable computational cost, because numerical evaluation of fractional derivatives requires accumulation over previous states [10]. Accordingly, the fractional-order Chen generator is adopted because it provides memory-dependent state evolution and an additional order-sensitive degree of freedom, despite its higher computational cost. This choice is not intended to imply universal superiority over integer-order chaotic systems.
A central challenge in chaos-based image encryption is to disrupt the strong spatial correlation among adjacent pixels through effective permutation and diffusion operations. Bit-plane decomposition converts pixel values into their binary representations and separates an image into multiple binary layers, enabling encryption operations to be performed at the bit level rather than exclusively at the pixel level [13]. This finer representation provides additional flexibility for rearranging image information; however, the resulting bit planes are not equivalent in their contribution to the represented image. Higher-order bit planes generally contain more visually significant information, while correlations may also remain among the decomposed planes [13,14]. Recent approaches have therefore explored weighted and cross-bit-plane processing rather than treating all planes identically. Wen et al. [13] employed information-weighted bit-plane processing together with plaintext-associated chaotic control, whereas Liu et al. [15] performed cross-permutation between high- and low-order bit planes and used plaintext-related key generation. Such designs illustrate the use of input-dependent control to vary encryption parameters between images and to address known-plaintext and chosen-plaintext attack scenarios [14,15]. In the proposed method, rather than deriving permutation controls from the plaintext, each bit plane is assigned a reversible scan trajectory through a key-schedule-driven selector. This provides a finer-grained means of diversifying the permutation structure across different bit-plane significance levels while keeping the permutation controls dependent on secret key material.
Deoxyribonucleic acid (DNA) encoding represents binary image data using the four biological bases, adenine, thymine, cytosine, and guanine, through eight coding rules that satisfy Watson–Crick complementarity [16]. DNA-domain algebraic operations such as addition, subtraction, and XOR can subsequently be incorporated into image-encryption transformations [17]. However, conventional DNA-based schemes may employ a fixed coding rule or reuse the same coding configuration across image elements. Chai et al. [17] noted that such globally reused encoding rules can reduce resistance to statistical, known-plaintext, and chosen-plaintext attacks. Dynamic DNA coding addresses this limitation by varying the coding configuration across the image rather than applying a single global rule. Afify et al. [18] categorized these strategies according to the granularity of rule selection, with coding rules applied at the image, block, row, pixel, or two-bit level. Accordingly, the proposed scheme derives separate DNA control fields through the labeled CSPRNG–HKDF key schedule and performs position-dependent selection among the eight Watson–Crick-compliant rules. This design provides fine-grained transformation diversity without deriving secret material directly from the plaintext.
Diffusion mechanisms are used to propagate local variations in the plaintext throughout the encrypted data and thereby reduce the preservation of structural relationships. Addition, Rotation, and XOR operations, collectively referred to as ARX operations, provide a compact means of constructing diffusion transformations using simple integer operations. Zhang et al. [19] incorporated ARX-based round functions into a generalized Feistel structure and reported strong diffusion and avalanche behavior with relatively few rounds, together with flexible hardware serialization for resource-constrained implementations. Suzgen et al. [20], in contrast, integrated ARX with memristive chaos, DNA operations, and 3DES in a multilayer medical image encryption framework in which the R, G, and B channels are processed independently. In the proposed method, the DNA-transformed R, G, and B data are instead concatenated into a single sequence and processed by a SPARKLE256-based two-pass ARX-duplex construction. The forward and backward duplex passes use independently derived seeds and non-overlapping chaotic diffusion streams, with a deterministic inter-pass mask applied between the two traversals. Because the duplex state is not reinitialized at channel boundaries, dependencies can propagate across the serialized color components in both traversal directions.
A fundamental vulnerability in some chaos-based image encryption algorithms lies in the use of weak, static, or repeatedly reused key and permutation configurations. When an encryption process behaves essentially as a permutation-only cipher, an adversary may recover the underlying permutation from known plaintext or chosen plaintext pairs and subsequently use the recovered structure as an equivalent decryption key for ciphertexts produced under the same configuration [21]. Avoiding this exposure requires more than increasing the complexity of the chaotic system or repeatedly applying permutation operations. A more structured design should begin with secret material generated by a cryptographically secure random bit generator [22] and use a key-derivation function to derive distinct purpose-specific fields for different cipher functions [23]. In HKDF, application- and context-specific information can be incorporated through the info input to bind the derived keying material to its intended use and distinguish derivations performed under different contexts. More generally, explicit purpose labels and distinct context information provide a systematic basis for key separation and context binding when multiple cryptographic fields are derived from common secret material [24].
To address these limitations, this study introduces a session-specific key-derivation mechanism based on a confidential 256-bit session secret Ks, independently generated for each encryption instance by a cryptographically secure pseudorandom number generator (CSPRNG). The selected Begin and Max timestamps obtained from NOAA’s Space Weather Prediction Center (NOAA/SWPC) are canonically encoded and used solely as public, non-secret session information. This use of NOAA/SWPC data is an application-specific design choice of the proposed method; the timestamps are not treated as secret key material and are not credited with cryptographic entropy. Accordingly, the confidentiality of the derived encryption configuration depends on Ks, whereas the NOAA/SWPC values provide a reproducible and externally verifiable temporal binding for the corresponding encryption instance.
The confidential session secret Ks is supplied as the input keying material to an HMAC-SHA-512-based HKDF following the Extract-and-Expand construction defined in RFC 5869 [23]. The canonically encoded NOAA/SWPC values are incorporated as public salt information in the extraction stage. The resulting pseudorandom key is subsequently expanded through separate HKDF-Expand invocations using function-specific labels and context information. These domain-separated derivations generate dedicated fields for the chaotic initial state, modified Chen-system coefficients, fractional order, nonlinear-feedback parameters, adaptive trajectory selectors, three DNA base-rule selectors, and independently derived forward and backward SPARKLE256 duplex seeds. The derivation context is additionally bound to the image dimensions and image mode. For RGB images, a single RGB-specific context and shared key schedule are used rather than independently generated schedules for the three channels. This organization separates the confidential root secret from the derived algorithmic parameters and avoids reusing undifferentiated key material across functionally distinct encryption components [24].
The principal contributions of this study are summarized as follows:
- Bounded key-conditioned nonlinear state feedback. To introduce additional secret-dependent trajectory variation without allowing the added nonlinear interaction to grow without control, the fourth equation of the fractional-order Chen system is augmented with the feedback term κtanh(βxz). The parameters κ and β are derived from independent HKDF fields, and the magnitude of the additional term is bounded by κ for every system state. The mechanism is formulated and analyzed in Section 3.3. Across the admissible region, all 10,000 sampled parameter triplets produced finite and bounded trajectories, all 1000 Lyapunov-grid configurations satisfied λ1 > 0 and λ2 > 0, with λ2,min = 0.0546, and all 35 representative configurations were accepted by the modified 0–1 chaos test, with a median statistic of K = 0.9971. These results show that the feedback parameters provide key-conditioned trajectory diversification while preserving the validated hyperchaotic operating regime; no universal increase in chaotic complexity is claimed.
- Channel-aware adaptive permutation and SPARKLE256-based cross-channel diffusion. To reduce structural reuse associated with fixed traversal patterns and to avoid isolating RGB components into independently reset diffusion chains, the proposed architecture combines adaptive bit-plane permutation, position-dependent DNA transformation, and SPARKLE256-based two-pass ARX-duplex diffusion. Each of the eight Gray-coded bit planes is assigned one of eight key-schedule-selected scanning trajectories. The separately permuted RGB components are then serialized as R||G||B, after which the position-dependent DNA stage is followed by a forward SPARKLE256 duplex pass, deterministic inter-pass masking, and a backward duplex pass. The duplex state is not reinitialized at channel boundaries, so the complete RGB image is processed as one continuous 3HW-byte sequence and dependencies can propagate across color-component boundaries.
- Session-coupled and domain-separated CSPRNG–HKDF key scheduling. The proposed key schedule begins with an independently generated 256-bit CSPRNG session secret and expands it through HMAC-SHA-512-based RFC 5869 HKDF operations with function-specific labels and image-context binding. The canonically encoded NOAA/SWPC temporal record is incorporated solely as public salt/context and contributes no secret entropy. Independent HKDF fields are assigned to the chaotic coefficients and initial state, fractional order, nonlinear-feedback parameters, trajectory selectors, DNA base-rule selectors, and the forward and backward SPARKLE256 duplex seeds. The resulting nominal confidential root-secret domain is 2256; the derived numerical and discrete parameters are deterministic schedule outputs and are not counted as independent secret entropy.
- Multi-level dynamical and statistical validation. The proposed generator and operational ciphertext are evaluated using complementary dynamical, numerical, and statistical analyses rather than image-level metrics alone. Section 3.3.5 reports boundedness scanning, empirical lower-order-bound estimation, Lyapunov-spectrum analysis, estimator verification, the modified 0–1 chaos test, bifurcation analysis, and step-size and memory-length convergence tests. Section 4.1 and Section 4.2 further evaluate the fractional modified Chen keystream and operational ciphertext using NIST SP 800-22 and Dieharder, with AES-256-CTR included as a reference. In the NIST evaluation, the modified Chen keystream satisfied 187 of 188 subtest rows (99.47%), while the operational ciphertext satisfied 185 of 188 rows (98.40%); the AES-256-CTR reference satisfied 184 of 188 rows (97.87%). In the 111-row Dieharder evaluation, the keystream produced 109 passed, 2 weak, and 0 failed outcomes, whereas the ciphertext produced 106 passed, 5 weak, and 0 failed outcomes.
- Stage-wise ablation of the encryption architecture. Section 4.10 evaluates the cumulative contribution of Gray-code transformation, bit-plane permutation, dynamic DNA mixing, the forward SPARKLE256 duplex pass, inter-pass masking, and the complete bidirectional diffusion configuration over all 11 RGB test images and the medical-image subset. The results distinguish the functional roles of the individual stages: bit-plane permutation primarily disrupts spatial organization; dynamic DNA mixing increases entropy and suppresses residual adjacent-pixel correlation; and the forward SPARKLE256 duplex introduces the principal differential propagation, which is preserved through inter-pass masking and the backward duplex stage. For the complete dataset, the full algorithm achieves a mean entropy of 7.9972, horizontal, vertical, and diagonal correlations of 0.0032, 0.0002, and −0.0008, respectively, and NPCR and UACI values of 99.6115% and 33.4546%.
- Computational profiling and optimized implementation. Section 4.11 quantifies the computational cost of the proposed method using stage-wise measurements for a 256 × 256 RGB image and compares a pure-Python implementation with an optimized CPU implementation. Fractional-order Chen sequence generation remains the dominant computational component. By accelerating the chaotic recurrence with Numba and vectorizing bit-plane permutation and dynamic DNA processing with NumPy, the total encryption time is reduced from 100,722.174 ms to 1356.327 ms, corresponding to an overall speedup of approximately 74.26×. The optimized fractional-order Chen stage requires 935.052 ms, while the forward and backward SPARKLE256 duplex stages require 126.834 ms and 125.394 ms, respectively.
The remainder of this paper is organized as follows. Section 2 reviews the theoretical and algorithmic foundations of the proposed method, including the Gray-code transform, bit-plane decomposition, scanning trajectories, the four-dimensional hyperchaotic Chen system, fractional-order calculus and Grünwald–Letnikov discretization, multi-rule DNA encoding, and SPARKLE256-based two-pass ARX-duplex diffusion. Section 3 presents the proposed medical image encryption architecture, including the session-coupled CSPRNG–HKDF key schedule, key-schedule-driven adaptive bit-plane permutation, the key-controlled fractional-order modified Chen generator and validation of its admissible operating region, position-dependent dynamic DNA transformation, SPARKLE256-based two-pass ARX-duplex diffusion with inter-pass masking, and the complete encryption and decryption procedures. Section 4 reports the experimental evaluation and security analysis, including statistical randomness testing, histogram and correlation analyses, information entropy, differential attack resistance, key-space analysis, robustness against cropping and noise, known-plaintext and chosen-plaintext analyses, stage-wise ablation, and computational complexity and encryption speed measurements. Finally, Section 5 summarizes the principal findings, discusses the limitations of the proposed method, and outlines directions for future research.
2. Preliminaries
This section reviews the theoretical and algorithmic components underlying the proposed algorithm: the Gray code transform, bit-plane decomposition, scan patterns, the four-dimensional hyperchaotic Chen system, fractional-order calculus and Grünwald–Letnikov discretization, multi-rule DNA encoding, and SPARKLE256-based two-pass ARX-duplex diffusion. Their integration into the encryption algorithm is presented in Section 3.
2.1. Gray Code Transform
The binary reflected Gray code is an ordered binary coding scheme in which two consecutive codewords differ in exactly one bit; hence, their Hamming distance is one [25]. The binary reflected Gray-code transformation follows the standard formulation in [26]:
where Bn−1 Bn−2 …B1 B0 represents an n-bit binary number, Gn−1 Gn−2 …G1 G0 represents the corresponding Gray code, and ⊕ denotes the exclusive-OR operation.
Gn−1 = Bn−1, Gi = Bi+1⊕Bi, i = 0, 1, …, n − 2,
2.2. Bit-Plane Decomposition
Binary bit-plane decomposition represents an 8-bit grayscale image or an individual channel of an RGB image as eight binary layers, each corresponding to a fixed significance level of the pixel or channel values [14]. Since each pixel or channel value ranges from 0 to 255, it can be represented by an 8-bit binary sequence.
Let v denote an n-bit unsigned integer represented by the binary sequence (bn−1bn−2 … b1b0). Its decimal value is expressed as
Here, bi ∈ {0, 1}, i ∈ {0, 1, …, n − 1}, and b0 denotes the least significant bit. For an 8-bit image value, n = 8 and v ∈ {0, 1, …, 255}.
Let I denote an 8-bit image channel of size H × W, and let Pk, k ∈ {1, 2, …, 8}, denote its binary bit planes. At spatial position (μ, ν), the original channel value is reconstructed from the eight bit planes as:
Here,
where 0 ≤ μ < H and 0 ≤ ν < W. Under this one-based plane-indexing convention, the bit bk−1 of each channel value forms the plane Pk. Consequently, P1 is the least significant bit plane, whereas P8 is the most significant bit plane. The decomposition is lossless because the weighted combination in Equation (3) reconstructs every original channel value exactly.
I(μ, ν) ∈ {0, 1, …, 255}, Pk(μ, ν) ∈ {0, 1},
2.3. Scan Patterns
A scan pattern defines the order in which the elements of a two-dimensional image or binary matrix are visited and converted into a one-dimensional sequence. For an image of size H × W, a valid scan path visits each spatial position exactly once and therefore establishes a bijective ordering over all H × W elements. The scan patterns considered in this study are zigzag, spiral, Hilbert, and snake traversals, as illustrated in Figure 1. The classical zigzag pattern traverses the matrix along successive diagonals with alternating directions [27].
Figure 1.
Visualization of the eight scan trajectories applied to an 8 × 8 grid. The zigzag, inward spiral, and Hilbert patterns are each traced in the forward and reverse traversal directions, while the snake pattern is shown in its row-wise and column-wise variants. The green marker denotes the starting position, and the red marker denotes the ending position of each traversal. (a) Zigzag scan (forward); (b) Zigzag scan (reversed); (c) Inward spiral scan (forward); (d) Inward spiral scan (reversed); (e) Hilbert curve scan (forward); (f) Hilbert curve scan (reversed); (g) Row snake scan; (h) Column snake scan.
In this study, the spiral traversal proceeds from the outer boundary toward the center, whereas the row-wise and column-wise snake traversals alternate the direction between successive rows or columns. The Hilbert traversal follows a space-filling curve that maps a two-dimensional image domain into a one-dimensional Hilbert order while preserving spatial locality [28]. Reverse zigzag, reverse spiral, and reverse Hilbert paths are obtained by reading the corresponding forward traversal in the opposite direction. Together with the row-wise and column-wise snake traversals, these variants yield eight distinct scan orders.
2.4. Four-Dimensional Hyperchaotic Chen System
The four-dimensional hyperchaotic Chen system is obtained by extending a modified three-dimensional Chen system with an additional dynamical feedback variable [29]. The original three-dimensional system is expressed as
where x, y, and z are the state variables, and a, b, c, and d are system parameters. By introducing an additional feedback variable w, the system is extended to four dimensions as follows:
where r denotes the feedback control parameter. The additional state variable increases the phase space dimension from three to four, allowing the system to exhibit hyperchaotic behavior. In general, a hyperchaotic system is characterized by the presence of at least two positive Lyapunov exponents.
Li et al. [29] denote the additional feedback state by u; in the present study, the same state variable is denoted by w for notational consistency with the subsequent fractional-order formulation. Apart from this notational relabeling, Equation (5) is identical to the four-dimensional system reported in [29].
For the parameter values a = 35, b = 3, c = 12, and d = 7, Li et al. reported that the system exhibits hyperchaotic dynamics within the interval 0.085 < r ≤ 0.798 [29].
Figure 2 illustrates the attractor of the four-dimensional system defined by Equation (5) for the parameter set reported in [29], with r = 0.5 selected from the interior of the hyperchaotic interval. The trajectory was obtained by fourth-order Runge–Kutta integration with a step size of 0.001 from the initial state (0.1, −0.2, 0.3, −0.1), and the first 105 samples were discarded as transient. The x–z projection in Figure 2b exhibits the characteristic two-scroll structure inherited from the three-dimensional Chen system, whereas the three-dimensional projection in Figure 2c shows that the trajectory remains bounded and does not settle onto a periodic orbit. This integer-order configuration serves as the reference against which the fractional-order modified system introduced in Section 3.3 is compared.
Figure 2.
Attractor projections of the four-dimensional hyperchaotic Chen system defined by Equation (5) for a = 35, b = 3, c = 12, d = 7 and r = 0.5: (a) x–y plane; (b) x–z plane; (c) three-dimensional (x, y, z) projection.
2.5. Fractional-Order Calculus and Grünwald–Letnikov Discretization
Fractional calculus generalizes conventional integer-order differentiation to derivatives of non-integer order. Fractional-order systems exhibit nonlocal and memory-dependent behavior, since the current state is influenced by its previous states [30]. For a derivative order 0 < α < 1, the Grünwald–Letnikov fractional derivative of a function x(t) is defined as
where h denotes the discretization step and the generalized binomial coefficient is given by [31]
For a fractional-order dynamical system represented by
The Grünwald–Letnikov formulation produces a discrete recurrence in which the current state depends on a weighted sum of the preceding states. The corresponding Grünwald–Letnikov weights are defined as [31]
and can be calculated recursively as [30]
As the simulation proceeds, the number of historical terms increases, reflecting the memory effect inherent in fractional-order dynamics [30].
To reduce the computational cost of retaining the complete state history, the short-memory principle approximates the full Grünwald–Letnikov sum by preserving only the most recent Lmem state samples. Here, Lmem denotes the finite memory length. The fractional order, discretization step, and memory length employed in the proposed algorithm are specified in Section 3.
2.6. Multi-Rule DNA Encoding
DNA encoding represents binary data using the four nucleotide symbols adenine (A), cytosine (C), guanine (G), and thymine (T), where each two-bit binary group is mapped to one DNA base. According to the Watson–Crick complementarity principle, adenine is complementary to thymine, while cytosine is complementary to guanine. Accordingly, the binary pairs 00 and 11, as well as 01 and 10, are treated as complementary pairs. Under these constraints, eight valid mappings can be defined between the binary set {00, 01, 10, 11} and the DNA alphabet {A, C, G, T} [32]. The rule ordering adopted in this study is presented in Table 1.
Table 1.
DNA encoding rules used in this study.
For an 8-bit value, the binary sequence is divided into four consecutive two-bit groups, and each group is encoded into one DNA base using the selected rule. Therefore, one byte is represented by a DNA sequence of length four. DNA decoding applies the inverse mapping of the same rule to recover the original binary value. The DNA exclusive-OR operation employed to combine two encoded DNA bases is defined according to the operation rules presented in Table 2.
Table 2.
DNA exclusive-OR operation used in this study.
For two DNA sequences of equal length, the operation is applied independently to the bases at corresponding positions. Let
and
denote two DNA sequences. Their DNA-domain XOR is defined as
S = (s1, s2, …, s𝓁)
T = (t1, t2, …, t𝓁)
S⊕DNAT = (s1⊕DNAt1, s2⊕DNAt2, …, s𝓁⊕DNAt𝓁)
The operation is commutative and self-inverse:
A⊕DNAB = B⊕DNAA, (A⊕DNAB)⊕DNAB = A.
These properties enable the same DNA operand to be used to reverse the transformation during decryption. The mechanism used to select and assign the encoding and decoding rules in the proposed algorithm is described in Section 3.4.
2.7. SPARKLE256-Based Two-Pass ARX-Duplex Diffusion
Diffusion is used to propagate local modifications throughout the serialized data sequence and to suppress residual statistical dependencies after the preceding transformation stages. In the proposed framework, diffusion is implemented as a two-pass duplex construction built around the SPARKLE256 permutation. SPARKLE256 has a 256-bit internal state and combines Alzette ARX-boxes with the SPARKLE linear mixing layer. The diffusion stage uses SPARKLE256 with 10 steps throughout. The 256-bit state is ordered as rate || capacity, with a 128-bit rate portion followed by a 128-bit capacity portion.
The permutation used by the duplex construction is denoted by
SPARKLE256,10:{0, 1}256 → {0, 1}256.
The diffusion input is the already defined byte sequence Z = (z1, z2, …, zM). Let nb denote the number of duplex blocks. For M ≥ 17, nb = ⌈M/16⌉; for 2 ≤ M ≤ 16, the sequence is split into two non-empty partial blocks and nb = 2. The one-byte case reduces to a keyed XOR and is not relevant to the image dimensions evaluated in this study. The block index is ξ ∈ {1, …, nb}, and Blkξ(⋅) denotes the ξ-th block of a serialized byte sequence.
Each duplex direction is initialized from an independent 16-byte pass seed, SeedF and SeedB. Direction separation is provided by the 256-bit capacity-side domain-separation constants TagF and TagB. Their non-zero bits are XORed only into the capacity portion before the first permutation. The initial states are
For one duplex step, Absorb(⋅) XORs the corresponding diffusion-keystream block into the 128-bit rate portion of the current state; Rate(⋅) returns that rate portion; Trunc(⋅) restricts the rate output to the current data-block length; and Feedback(⋅) XORs the produced block back into the rate. For a partial block, Feedback appends the byte 0 × 80 and then zero bytes until the 16-byte rate width is reached. The partial-block domain-separation constant TagP is also XORed into the capacity portion before the permutation; for a full block this value is zero. The forward-pass block update is
ForwardDuplex(⋅) denotes the repeated application of Equation (15) for ξ = 1, …, nb. The backward pass uses the same update rule with and SeedB, but traverses ξ = nb, nb − 1, …, 1. At every backward step, block ξ is paired with ; the diffusion-stream index is therefore the absolute block index, not the ordinal position within the reverse traversal. Because encryption feeds the produced output block back into the rate, the decryptor can reproduce the same state evolution from the received block and recover the corresponding input block by XORing the same truncated rate value.
Two plain, oppositely directed duplex sweeps do not by themselves remove the structural boundary condition associated with the block processed last in the forward direction. The construction therefore inserts a common 128-bit inter-pass mask between the two sweeps. Fold(U) denotes the byte-wise XOR of the first and last forward-pass blocks over their common valid-byte range. The overall diffusion mapping is
Here, Λ is the inter-pass mask. MaskBlocks(⋅) XORs Λ into every intermediate block, truncating it only for a partial block. Because the same mask is applied to the first and last intermediate blocks, it cancels when those blocks are folded together. This permits the mask to be recomputed after inversion of the backward duplex pass. The construction is length preserving and consumes one diffusion-keystream byte per input byte in each direction, for a total requirement of 2M bytes. The concrete seed derivation, mask-generation rule, and inverse sequence are specified in Section 3.5.
3. Proposed Method
This section presents the proposed medical image encryption algorithm, whose overall architecture is illustrated in Figure 3. The method integrates CSPRNG-based secret generation, HMAC-SHA-512-based HKDF key scheduling, Gray-code transformation, adaptive bit-plane permutation, a key-controlled modified four-dimensional fractional-order Chen system, position-dependent dynamic DNA encoding, and two-pass Add–Rotate–XOR (ARX) diffusion within a unified and fully reversible encryption framework. The image-transformation path and the key-schedule path are generated separately and subsequently combined through the permutation, DNA-domain substitution, and bidirectional diffusion stages.
Figure 3.
Proposed encryption algorithm.
Within this architecture, the transformation stages are assigned distinct functional roles rather than being introduced as independent operations. Adaptive bit-plane permutation primarily disrupts spatial organization, the position-dependent dynamic DNA stage performs value-domain transformation, and the bidirectional ARX diffusion stage propagates local changes throughout the serialized image data. These complementary roles are evaluated quantitatively through the stage-wise ablation analysis presented in Section 4.10.
For each encryption instance, a CSPRNG-generated 256-bit session secret is expanded through the domain-separated HKDF schedule described in Section 3.1, with the canonically encoded NOAA/SWPC record used only as public salt and context. The resulting schedule supplies function-specific parameters to the chaotic, permutation, DNA, and diffusion stages.
The schedule derivation is additionally bound to the image dimensions and image mode. A grayscale image is processed under a single Y-labeled context, whereas an RGB image is processed under one common RGB-labeled context. RGB images use a single RGB-specific key schedule shared across all three channels, while Gray-code transformation and adaptive bit-plane permutation are applied channel-wise before serialization.
Let the input image have spatial dimensions H × W. For a grayscale input, the image is treated as one channel. For an RGB input, the red, green, and blue components are first separated. Each channel is independently converted into its Gray-code representation and decomposed into eight binary bit planes. The eight planes of each channel are permuted using the common trajectory-selector vector and then recombined. The processed data are subsequently serialized in row-major order. For a grayscale image, the serialized sequence has length M = HW; for an RGB image, the three permuted channels are concatenated in the fixed RGB order, yielding M = 3HW. Thus, the DNA and diffusion stages operate on one continuous RGB byte sequence rather than on three independently encrypted channel sequences.
In parallel with the image-transformation path, the schedule-derived initial state, Chen coefficients, fractional order, and nonlinear-feedback parameters are supplied to the fractional-order modified four-dimensional Chen system. The system is numerically evaluated using the Grünwald–Letnikov explicit recurrence with the short-memory principle. Following the warm-up stage, the four state components are jointly quantized to produce a byte-valued, chaotic sequence. For a processed sequence of length M, the full proposed configuration generates 6M chaotic bytes. These bytes are partitioned into six mutually non-overlapping segments: an M-byte DNA-value stream, three M-byte position-dependent DNA rule streams, and a 2M-byte diffusion stream. The diffusion segment is further divided into two M-byte subsequences assigned to the forward and backward ARX passes.
During the position-dependent dynamic DNA stage, the schedule provides three base-rule indices corresponding to image-byte encoding, chaotic-byte encoding, and output decoding. Three independently allocated chaotic rule streams modify these base indices at every sequence position. Therefore, each byte position may use a different ordered triplet of DNA rules. At position i, the permuted image byte and the corresponding DNA-value keystream byte are encoded using their position-dependent rules, combined through the DNA-domain exclusive-OR operation, and decoded using the position-dependent output rule. This stage changes byte values without altering the length or ordering of the serialized sequence.
The DNA-transformed sequence is subsequently processed by the two-pass ARX diffusion mechanism introduced in Section 2.7. The first pass traverses the complete serialized sequence in the forward direction using the forward diffusion keystream and the independently derived forward seed. The resulting intermediate sequence is then modified by the inter-pass mask and processed in the reverse direction using the independently allocated backward diffusion keystream and backward seed. Because the RGB components have already been concatenated, the duplex state is not reinitialized at the boundaries between the red, green, and blue segments. Consequently, dependencies originating in one color component can propagate across the remaining components through the continuous forward and backward diffusion passes.
After the backward ARX pass, the resulting ciphertext sequence is reshaped into the output image form. For a grayscale input, the M-byte sequence is reconstructed directly as an H × W cipher image. For an RGB input, the 3HW-byte ciphertext sequence is divided into three consecutive HW-byte segments, reshaped into the encrypted red, green, and blue components, and recombined to form the final RGB cipher image.
Decryption reproduces the same public schedule header, grayscale or RGB context, image dimensions, HKDF-derived schedule, fractional modified Chen trajectory, stream segmentation, DNA rule streams, diffusion keystreams, and the forward and backward diffusion seeds. The encryption stages are then inverted in reverse order. The backward ARX diffusion pass is inverted first, after which the inter-pass mask is recomputed and removed, followed by inversion of the forward ARX diffusion pass. The dynamic DNA transformation is subsequently reversed using the reproduced position-dependent rule triplets and DNA-value stream. Finally, each recovered channel undergoes inverse bit-plane permutation, bit-plane recombination, and inverse Gray-code transformation. The recovered channels are then combined to reconstruct the original image exactly. The following subsections describe each component of the proposed encryption algorithm in detail.
3.1. CSPRNG–HKDF Key Generation
Cryptographically secure pseudorandom number generators (CSPRNGs) are intended for security-sensitive applications in which generated values must be computationally unpredictable rather than merely exhibiting acceptable statistical randomness. In contrast to general-purpose pseudorandom generators, a CSPRNG is expected to prevent an adversary from feasibly predicting unrevealed outputs from an observed portion of the generated sequence or from partial knowledge of its internal state [33,34].
In the proposed key-generation mechanism, the confidential input keying material is a 256-bit session secret Ks generated independently for each encryption instance by a CSPRNG:
Ks ← CSPRNG(256), Ks ∈ {0, 1}256.
Here, Ks is the root secret from which the complete encryption configuration is derived. It is not mapped directly to the chaotic-system parameters, trajectory selectors, DNA rules, or diffusion variables. Instead, Ks is supplied to the HKDF extraction stage as the input keying material. The same Ks must be securely retained and supplied during decryption; it is never included in the public ciphertext packet.
To bind the key-derivation process to a publicly reproducible temporal context, NOAA/SWPC solar-activity data are incorporated as non-secret salt information. NOAA/SWPC publishes event reports containing records of space-weather phenomena, including solar flares, geomagnetic storms, and radio blackouts [35,36,37]. In the proposed method, selected report fields are used only to provide an externally verifiable public context for schedule reproduction, auditability, and traceability; they are not treated as secret material and contribute no cryptographic entropy. An example excerpt from an NOAA/SWPC Solar and Geophysical Event Report is presented in Figure 4.
Figure 4.
Screenshot excerpt from the NOAA/SWPC Daily Solar and Geophysical Event Report for 1 May 2026.
For each encryption instance, the public salt source is selected from the first recorded event in the NOAA/SWPC daily report corresponding to the day preceding encryption. If that report contains no event, the search proceeds to the immediately preceding report containing a recorded event. The selected Begin and Max values are placed in the public schedule header and canonically serialized to form SNOAA. This selection and serialization occur before HKDF processing. Because SNOAA is public, confidentiality depends on Ks.
The 256-bit session secret Ks is supplied to HKDF as the input keying material, while SNOAA is used as the public salt. Using HMAC-SHA-512, the extraction stage produces the 512-bit pseudorandom key PRK as
PRK = HKDF − ExtractHMAC − SHA512(SNOAA,Ks)
In Equation (18), SNOAA is the canonically encoded public salt, Ks is the confidential input keying material, and PRK is the 512-bit pseudorandom key returned by HKDF-Extract. The use of public NOAA/SWPC data as salt does not weaken the role of Ks; without the correct session secret, the same schedule cannot be reproduced.
The extracted PRK is then expanded into purpose-specific byte fields. Each field is generated by an independent HKDF-Expand invocation using a distinct domain-separation value infoj and the required output length 𝓁j:
Kj = HKDF − ExpandHMAC−SHA512(PRK,infoj,𝓁j)
Here, Kj is the byte string assigned to the j-th schedule field, infoj is its public domain-separation context, and 𝓁j is its required length in bytes. The value infoj combines the fixed algorithm identifier, the image dimensions H × W, the image-mode label m ∈ {Y,RGB}, and the semantic field label. A grayscale image uses a Y-labeled context, whereas an RGB image uses one common RGB-labeled context. Consequently, the complete RGB image is governed by one schedule; separate schedules are not derived for the red, green, and blue channels.
The field-specific outputs Kj are assembled in a fixed canonical layout. The fields used by the full proposed configuration provide the four-dimensional chaotic initial state, the five modified Chen coefficients, the eight trajectory selectors, the dedicated forward and backward ARX-diffusion seed fields, the fractional order α, the nonlinear-feedback parameters κ and β, and the three DNA base-rule selectors. Since these fields are generated under distinct infoj values, keying material assigned to one functional role is not reused as the direct input of another role.
During decryption, the ciphertext packet supplies the same public schedule header, while the legitimate recipient supplies the same confidential Ks. Together with the recorded image dimensions and image mode, these values reproduce SNOAA, PRK, every infoj, and the corresponding field outputs Kj. This deterministic reconstruction yields the identical key schedule required by all subsequent inverse operations.
3.2. Key-Schedule-Driven Bit-Plane Permutation
The proposed permutation stage operates independently on the eight bit planes of each processed image channel. The 3-byte trajectory-selector field is derived once from the CSPRNG–HKDF key schedule defined in Section 3.1. For a grayscale image, the schedule is generated under the grayscale image context, whereas an RGB image uses one common RGB-specific schedule. Consequently, the red, green, and blue channels share the same trajectory-selector vector, although their bit-plane data are permuted independently.
Let m ∈ {Y,RGB} denote the image mode and define the corresponding channel-label set as Y = {Y} and RGB = {R,G,B}. For each χ ∈ m, let I(λ) denote an 8-bit image channel of size H × W. Let N = HW denote the number of spatial positions in one channel. Each input channel is first converted into its Gray-code representation using the transformation defined in Section 2.1. The resulting, Gray-coded channel is then decomposed into eight binary planes , k ∈ {1, 2, …, 8}, according to the one-based plane-indexing convention defined in Section 2.2.
Let the 3-byte selector field derived from the image-mode-specific key schedule be denoted by
Here, bsel is the 3-byte selector field, Ssel is the corresponding 24-bit unsigned selector word, and sk ∈ {0,…,7} is the trajectory selector assigned to the bit plane . Each selector is extracted from a distinct 3-bit segment of Ssel. The mapping between the selector values and the eight available scanning trajectories is presented in Table 3.
Table 3.
Assignment of selector values to scan trajectories.
The complete trajectory-selector vector is defined as
s = (s0, s1, …, s7) ∈ {0, 1, …, 7}8.
The vector is common to all channel labels χ ∈ m. Thus, a grayscale image applies s to its single Y channel, whereas the R, G, and B channels of an RGB image share the same RGB-specific selector vector. Consequently, each image-mode-specific schedule admits 224 possible bit-plane-to-trajectory assignment vectors. The same trajectory may be assigned to multiple bit planes because the eight selectors are extracted independently from non-overlapping 3-bit segments. For an RGB image, the common selector vector is applied separately to the corresponding bit planes of the red, green, and blue channels.
For a trajectory type j, let Tj denote the ordered sequence of row-major source indices generated for an H × W binary plane:
Tj = (τj(0), τj(1), …, τj(N − 1)).
{τj(0), τj(1), …, τj(N − 1)} = {0, 1, …, N − 1}, j ∈ {0, 1, …, 7}.
{τj(0), τj(1), …, τj(N − 1)} = {0, 1, …, N − 1}, j ∈ {0, 1, …, 7}.
The second line of Equation (22) states that every valid trajectory contains each source index exactly once. Hence, Tj defines a bijective ordering over all N = HW elements of a bit plane.
The forward zigzag trajectory visits the diagonals satisfying
while alternating the traversal direction on consecutive diagonals. The inward spiral trajectory successively visits the upper, right, lower, and left boundaries of the remaining rectangular region. In the row-wise and column-wise snake trajectories, the traversal direction alternates according to the parity of the current row or column, respectively. The reverse zigzag and reverse spiral trajectories are obtained by reversing the ordered index sequences of their corresponding forward trajectories.
μ + ν = δ, δ = 0, 1, …, H + W − 2
A separate construction is required for the Hilbert trajectory because a conventional Hilbert curve is defined over a square grid whose side length is a power of two. For an arbitrary H × W image channel, the side length of the auxiliary Hilbert grid is selected as
Let
denote the conventional Hilbert traversal over the auxiliary LH × LH grid. The trajectory used for the original image domain is obtained by preserving only the coordinates that fall inside the H × W channel boundaries:
Coordinates outside the original channel dimensions are discarded without changing the relative order of the retained coordinates. Consequently, TH contains exactly N row-major indices and remains bijective for non-square and non-power-of-two image dimensions. The reverse Hilbert trajectory is obtained by reading TH in the opposite direction.
To apply the selected trajectory, the k-th bit plane of channel χ ∈ m is first represented as a row-major binary sequence. The source sequence and its permuted counterpart are defined as
Here, is the row-major representation of the k-th bit plane of channel λ, whereas is the corresponding permuted sequence. The selector sk−1 is used because the bit planes follow one-based indexing, k ∈ {1,…,8}, while the selector vector follows zero-based indexing, s0, …, s7. Equation (25) reads the source elements in the order specified by the selected trajectory and writes them consecutively into the permuted sequence.
The permuted binary sequence is reshaped into a two-dimensional bit plane, and the eight permuted planes are recombined to obtain the permuted channel:
Here, denotes the two-dimensional form of the permuted k-th bit plane, and denotes the channel reconstructed from the eight permuted planes. Although permutation is performed independently within each bit plane, the reconstructed byte at a given spatial position may contain bits originating from different source positions.
After channel-wise plane recombination, the resulting data are serialized for the position-dependent DNA transformation and two-pass ARX diffusion stages. Let vec(⋅) denote row-major vectorization. For a grayscale image,
For an RGB image, the three permuted channels are concatenated in the fixed order red, green, and blue:
Here, || denotes sequence concatenation, P is the complete serialized byte sequence supplied to the subsequent encryption stages, and M is its total length. Thus, RGB channels are processed separately during Gray-code conversion and bit-plane permutation but form one continuous sequence before the dynamic DNA and ARX diffusion stages.
During decryption, the same image dimensions, image mode, public salt, confidential session secret, and HKDF context are used to reproduce the identical selector vector and trajectory sequences. After inverse ARX diffusion and inverse dynamic DNA transformation, the recovered serialized sequence is reshaped directly into one H × W permuted channel for a grayscale image. For an RGB image, the recovered sequence is divided into three consecutive segments of length N = HW, and the segments are reshaped into the permuted red, green, and blue channels.
For each reconstructed permuted channel, the inverse permutation restores every received element to its original source index:
Here, and denote the recovered row-major sequence and recovered two-dimensional bit plane, respectively. The reconstructed, Gray-coded channel is subsequently converted back to its ordinary binary representation by applying the inverse Gray-code transformation.
3.3. Key-Controlled Fractional-Order Modified Chen System and Keystream Generation
The proposed cryptosystem employs a key-controlled fractional-order modified Chen system as the pseudorandom byte source for all subsequent encryption stages. The modification introduces two independently derived nonlinear-feedback controls. No claim is made that the additional term universally increases chaotic complexity; instead, the coefficient, initial-state, fractional-order and feedback ranges are restricted to the bounded operating region that is validated numerically in Section 3.3.5. All quantities are derived deterministically from the function-specific HKDF fields introduced in Section 3.1, so that no user-selected dynamical parameter is required.
3.3.1. System Definition
Let X(t) = [x(t),y(t),z(t),w(t)]T denote the state vector. The commensurate fractional-order modified Chen system is defined by
where denotes the fractional derivative of order α with 0 < α < 1; a, b, c, d and r are the Chen-system coefficients; and κ and β determine the gain and the sensitivity of the bounded nonlinear-feedback term, respectively. Because |tanh(βxz)| ≤ 1, the magnitude of the additional term is bounded above by κ for every admissible state. Setting κ = 0 reduces Equation (31) to the fourth equation of the unmodified four-dimensional Chen system, so the proposed generator contains the classical system as a strict special case.
3.3.2. Key-Derived Parameterization
The nominal Chen-coefficient vector is ordered as a, b, c, d and r, and is given by
Let denote the 10-byte HKDF field assigned exclusively to the Chen coefficients. The field is divided into five non-overlapping two-byte big-endian unsigned words. For j ∈ {0, 1, 2, 3, 4}, the corresponding 16-bit unsigned word and normalized value are
and the derived coefficient follows from a bounded relative perturbation of its nominal value,
Accordingly, every nominal coefficient varies within ±2% of its nominal value. The four-dimensional initial state is derived from a separate 32-byte HKDF field η(X), divided into four non-overlapping eight-byte big-endian words. Each word is interpreted as a 64-bit unsigned integer, normalized by 264 − 1, and mapped affinely onto [−1, 1], so that x0, y0, z0, and w0 each lie in the range reported in Table 4. The fractional order is derived from a separate two-byte field η(a):
Table 4.
Nominal values and key-derived parameter ranges of the fractional-order modified Chen system.
The fractional order is normalized by 216 rather than 216 − 1 so that the admissible interval remains half-open and the integer-order limit α = 1 is excluded from the production configuration, consistent with Table 4. The remaining fields, whose endpoints carry no comparable special significance, are normalized by 216 − 1 and 264 − 1. The nonlinear-feedback gain and sensitivity are derived from two further independent two-byte fields:
κ = 0.05 + 0.45uκ, β = 0.0005 + 0.0045uβ
Because the coefficient, state, fractional-order, gain and sensitivity fields are generated through distinct labeled HKDF-Expand operations, bytes assigned to one dynamical role are never reused as the direct input of another. The resulting admissible ranges are summarized in Table 4.
The reported r-range lies entirely within the interval 0.085 < r ≤ 0.798 for which hyperchaotic behavior of the unmodified four-dimensional Chen system was reported in [29].
3.3.3. Fundamental Dynamical Properties
Three structural properties of the modified system are established analytically before the numerical validation is presented. They are stated here because each of them constrains, and in one case excludes, the analytical tools that are conventionally applied to fractional-order chaotic systems.
(a) Dissipativity. The divergence of the vector field defined by Equations (28)–(31) is
The nonlinear-feedback term does not depend on w, so its partial derivative with respect to w vanishes identically and the divergence is unaffected by κ and β. For the nominal coefficients, this yields ∇·F = −35 + 12 − 3 + 0.5 = −25.5 < 0, and a phase-space volume element contracts as (t) = (0)exp(−25.5t). The negative divergence establishes uniform phase-space volume contraction throughout the admissible coefficient region. It does not, by itself, constitute a global boundedness proof; trajectory boundedness is therefore evaluated numerically over the complete sampled operating region in Section 3.3.5. The divergence identity is also used as an independent reference for validating the Lyapunov estimator.
(b) Symmetry. The system is invariant under the transformation
:(x, y, z, w) ↦ (−x, −y, z, −w)
Because tanh is an odd function, tanh(β(−x)z) = −tanh(βxz), and the fourth equation transforms consistently with the remaining three. The rotational symmetry of the unmodified four-dimensional Chen system is therefore preserved by the modification, which is reflected in the two-lobe structure of the attractor projections shown in Figure 5.
Figure 5.
Attractor projections of the fractional-order modified Chen system at the mid-range key-derived configuration (α = 0.97, κ = 0.275, β = 0.00275): (a) x–y plane; (b) x–z plane; (c) y–w plane; (d) z–w plane; (e) three-dimensional (x, y, z) projection; (f) three-dimensional (x, z, w) projection. The two-lobe structure reflects the symmetry established in Equation (38).
(c) Equilibria and local stability. Setting the right-hand sides of Equations (28)–(31) to zero yields a single equilibrium point for every admissible parameter set, namely the origin O = (0, 0, 0, 0). Since tanh(0) = 0, the feedback term contributes no additional equilibria. The Jacobian of the vector field is
Evaluated at the origin, the two feedback-dependent entries κβz·sech2(βxz) and κβx·sech2(βxz) both vanish. The Jacobian at O is therefore identical to that of the unmodified system, and the linear stability structure of the origin is independent of κ and β. The resulting spectrum is reported in Table 5.
Table 5.
Unique equilibrium of the fractional-order modified Chen system and the eigenvalues of the associated Jacobian at the nominal coefficients. The eigenvalues are independent of the feedback parameters κ and β.
All four eigenvalues are real. The equilibrium is consequently an unstable saddle with a two-dimensional unstable manifold, and not a saddle-focus. This has a direct methodological consequence: the necessary condition for chaos in commensurate fractional-order systems due to Tavazoei and Haeri presupposes the existence of a saddle-focus equilibrium with a complex conjugate eigenvalue pair, from which a minimum admissible order αmin = (2/π)·arctan(|Im(λ)|/Re(λ)) is obtained. Since no such equilibrium exists in the present system, that criterion is not applicable and no analytical lower bound on α can be derived from it. The admissible fractional order is therefore determined empirically in Section 3.3.5(b) rather than assumed. To the best of the authors’ knowledge, this property of the four-dimensional feedback-extended Chen system has not previously been stated explicitly in the image-encryption literature.
3.3.4. Numerical Realization
The system is evaluated using the Grünwald–Letnikov explicit scheme introduced in Section 2.5, combined with the short-memory principle. For a retained memory length L, the GL weights are generated recursively as
and the state recurrence is
In the production configuration h = 0.001, Lmem = 100, and 100 warm-up iterations are performed before byte generation begins. Two consequences of this discretization are relevant to the analysis that follows. First, at α = 1 the recursion in Equation (40) gives ω1 = −1 and ωj = 0 for all j ≥ 2, so the scheme reduces exactly to the forward Euler method and the map becomes genuinely four-dimensional; this property is exploited in Section 3.3.5(d). Second, for α < 1 the truncated recurrence is a deterministic map on the retained history window and therefore possesses an effective state dimension of 4Lmem = 400. The object characterized in this work is that map, since encryption and decryption both reproduce it exactly; identical arithmetic precision, memory length and numerical backend are required at both ends.
After the warm-up stage, each state is converted into one byte. Let ψx,n, ψy,n, ψz,n and ψw,n denote the four non-negative quantized state integers at iteration n:
ψx,n = ⌊106|xn|⌋, ψy,n = ⌊106|yn|⌋,
ψz,n = ⌊106|zn|⌋, ψw, n = ⌊106|wn|⌋
ψz,n = ⌊106|zn|⌋, ψw, n = ⌊106|wn|⌋
The output byte is obtained by combining all four quantized components through bitwise shifts and exclusive-OR:
qn = [ψx,n⊕(ψy,n≪1)⊕(ψz,n≪2)⊕(ψw,n≪3)]|mod|256
For a serialized image sequence of length M, the full configuration generates 6M bytes; their mutually non-overlapping allocation to the DNA-value stream, the three position-dependent DNA-rule streams and the two ARX-diffusion streams is specified in Section 3.4 and Section 3.5.
3.3.5. Validation of the Admissible Operating Region
The admissible operating region defined by Table 4 was evaluated using the same short-memory GL recurrence, arithmetic precision and numerical backend employed by the production generator, rather than a simplified integer-order approximation or a different solver. The production generator begins byte extraction after 100 warm-up iterations; the asymptotic dynamical analyses below employ longer test-specific transients, stated separately for each experiment. Eight complementary analyses are reported. All computations were performed in double precision on the workstation described in Section 4, with fixed random seeds and recorded software versions.
(a) Boundedness of the sampled region. A three-dimensional 25 × 20 × 20 scan was performed over 0.94 ≤ α < 1, 0.05 ≤ κ ≤ 0.5 and 0.0005 ≤ β ≤ 0.005, yielding 10,000 evaluated parameter triplets. Every sampled trajectory remained finite and bounded under the numerical validity criterion used by the implementation, and the bit-balance and lag-one autocorrelation of the resulting byte streams satisfied the acceptance thresholds at all 10,000 triplets. Because the assessment is grid based, this result validates the sampled operating region; it is not presented as an analytical proof covering every point of the corresponding continuous parameter domain.
(b) Empirical determination of the lower fractional bound. Since the Tavazoei–Haeri criterion is inapplicable (Section 3.3.3), the lower limit of the admissible fractional order was located empirically by a three-stage bisection scan. At each sampled order, five parameter configurations spanning the corners and the center of the (κ, β) rectangle were integrated for 106 observation steps after a transient of 105 steps, under two independent integrator settings: the production setting (h = 10−3, Lmem = 100) and a matched-horizon setting (h = 5 × 10−4, Lmem = 200) that preserves the memory horizon Lmem·h = 0.1. An order was classified as robust only when all five configurations passed under both settings. The results are summarized in Table 6.
Table 6.
Three-stage bisection scan for the lower bound of the admissible fractional order. A configuration is counted as passing only when the chaos criterion is satisfied under both integrator settings.
The lowest contiguous robust order obtained from the ultra-refined stage is α* ≈ 0.9371. Over the retained band 0.940 ≤ α ≤ 0.999, all 600 long-horizon runs passed and the two integrator settings agreed at all 60 sampled orders. The production lower bound α = 0.94 therefore lies 0.0029 above the measured threshold. The complete agreement between the two settings, which differ in step size by a factor of two at a fixed memory horizon, provides direct evidence of step-size convergence for the classification.
(c) Lyapunov spectrum. Hyperchaos was assessed through the tangent dynamics of the exact short-memory GL companion map rather than through the classical 4 × 4 Jacobian of the integer-order differential system, since with Lmem = 100 the production recurrence has an effective state dimension of 4Lmem = 400. The four largest exponents were estimated on a 10 × 10 × 10 grid spanning the admissible region, using full-history Jacobian–vector products with periodic modified Gram–Schmidt reorthogonalization (transient 3 × 104 steps, measurement 106 steps, reorthogonalization every 20 steps). The finite-difference verification of the Jacobian–vector product agreed with the analytical form to a relative error of 7.8 × 10−10. All 1000 evaluated grid points satisfied the operational hyperchaos criterion λ1 > 0 and λ2 > 0. Median exponents per order are reported in Table 7 and the spectrum is plotted in Figure 6.
Table 7.
Median values of the four largest Lyapunov exponents of the short-memory GL companion map over the admissible (κ, β) rectangle, reported per sampled fractional order (100 grid points per order, 106 measurement steps). Exponents are expressed per unit time.
Figure 6.
Lyapunov spectrum of the fractional-order modified Chen system over the admissible band, shown with a split vertical axis: (a) the three largest exponents λ1, λ2 and λ3; (b) the fourth exponent λ4. Markers denote the median over the 100 (κ, β) configurations sampled at each order and the shaded envelopes denote the corresponding minimum–maximum range.
Two features of Table 7 are noteworthy. First, the largest exponent increases monotonically with the fractional order, whereas the second exponent attains a maximum near α ≈ 0.96 and decreases towards the integer-order limit. The strongest hyperchaotic character, measured by the second exponent, is therefore obtained inside the fractional band rather than at α → 1; this provides a dynamical, and not merely a key-space, motivation for operating the generator at fractional orders. Second, the third exponent remains close to zero at every sampled order (median −2.6 × 10−3 over the full grid; 968 of 1000 points satisfy |λ3| < 10−2). Recovery of the expected near-zero exponent along the flow direction is an internal consistency check on the estimator that does not depend on any external reference.
Because the smallest second exponents were obtained near the integer-order edge, where convergence is slowest, the 200 grid points with α ≥ 0.992 were re-measured over 107 steps. This raised the minimum second exponent from 0.0222 to 0.0546 and confirmed that the lower values obtained at 106 steps were under-converged; all 200 points remained hyperchaotic and the largest absolute third exponent was 2.8 × 10−3. Over the remaining band α < 0.992 the minimum second exponent at 106 steps is 0.0759. The value λ2,min = 0.0546 is therefore reported as a conservative lower bound over the whole admissible region; residual drift between the final two checkpoints remains larger near α → 1 (median 5.8%), but this bound leaves λ2 strictly positive at every sampled point, so the hyperchaos classification is unaffected by the remaining estimator uncertainty.
(d) Validation of the exponent estimator against the analytic divergence. As established in Section 3.3.4, the GL weights satisfy ωj = 0 for all j ≥ 2 when α = 1, so at that order the companion map is exactly four-dimensional and the four measured exponents constitute the complete spectrum. Their sum must then equal the analytic divergence of Equation (37). This provides an absolute reference against which the estimator can be tested. Table 8 reports the outcome at α = 1 with κ = 0, together with a step-size refinement study.
Table 8.
Validation of the Lyapunov estimator against the analytic divergence ∇·F = −25.5 at α = 1, κ = 0. The upper block reports the full spectrum at the production step size; the lower block reports the relative deviation under step-size refinement at matched physical horizon.
Table 8 reports relative deviations computed at full precision; the tabulated exponents are rounded to six decimals and do not reproduce them exactly. The deviation from the analytic divergence decreases linearly with the integration step, with successive ratios of 0.4960 and 0.4968 against the theoretical value of 0.5 for a first-order scheme. The residual is therefore attributable to forward-Euler truncation and not to the exponent estimator itself. Together with the recovery of λ3 ≈ 0 reported above, this establishes the reliability of the spectra in Table 7. It should be emphasized that the sum rule applies only in the limit α → 1: for α < 1 the companion map possesses 396 further exponents below λ4, so neither the sum of the four largest exponents nor a Kaplan–Yorke dimension computed from them carries the usual interpretation, and λ4 in Table 7 denotes the fourth-largest exponent of the companion map rather than the fourth exponent of an underlying four-dimensional flow.
(e) Modified 0–1 chaos test. The Lyapunov analysis was corroborated by the modified 0–1 test, which operates directly on the scalar observable and requires neither tangent dynamics nor reorthogonalization, and is therefore methodologically independent of the estimator validated above. Thirty-five representative configurations spanning the admissible region were integrated for 106 observation steps after a transient of 105 steps, sampled at a stride of 100 steps, and evaluated over 100 values of the test parameter ctest. A periodic sinusoidal signal was included as a negative control. The results are given in Table 9 and Figure 7.
Table 9.
Modified 0–1 chaos test over the admissible region, with a periodic sinusoidal negative control.
Figure 7.
Distribution of the modified 0–1 test statistic K over 100 values of the test parameter c, shown for representative configurations at α = 0.940, 0.970 and 0.999 at the minimum, maximum and mid-range feedback gains, together with the periodic sinusoidal negative control. The dashed line marks the acceptance threshold K = 0.9.
Acceptance was determined from the median K value calculated over the 100 values of the test parameter ctest for each case. The minimum individual-ctest statistic reported in Table 9 was included only as a diagnostic extreme and was not used as the acceptance criterion. An initial screening had applied the modified 0–1 test with a sampling stride of 10 steps, corresponding to an interval of 0.01 time units. This configuration proved to be strongly oversampled and returned K ≈ 0 uniformly, including at orders subsequently confirmed as chaotic by both the Lyapunov analysis and the longer-stride test. All 0–1 statistics reported in this work therefore correspond to the stride of 100 steps described above. The separation between the fractional cases and the periodic control exceeds 0.87 in the test statistic, and no fractional case approached the acceptance threshold.
(f) Bifurcation structure. The bifurcation sections in Figure 8 provide a qualitative check that complements the quantitative indicators above. Across the sampled α, κ and β slices the local maxima of x remain persistently and densely distributed, with no broad transition to a fixed-point or low-period regime over the examined ranges.
Figure 8.
Bifurcation sections of the fractional-order modified Chen system: (a) variation with α over the admissible band; (b1) variation with κ at α = 0.94; (b2) variation with κ at α = 0.97; (b3) variation with κ at α = 0.99; (c1) variation with β at α = 0.94; (c2) variation with β at α = 0.97; (c3) variation with β at α = 0.99. The plotted values are the local maxima of x after the transient stage.
(g) Numerical convergence in step size and memory length. Because the short-memory principle truncates the Grünwald–Letnikov history, the sensitivity of the generator to both h and Lmem was assessed by a full factorial campaign over h ∈ {2 × 10−3, 10−3, 5 × 10−4} and Lmem ∈ {50, 100, 200, 500}, evaluated at 25 configurations per cell. Table 10 reports the aggregate outcome.
Table 10.
Full factorial convergence campaign over integration step and retained memory length. Bit balance and lag-one autocorrelation are reported as medians and worst cases over the 25 configurations evaluated in each cell.
The bit balance of the generated byte stream remains within 6 × 10−4 of 0.5 across the bounded cells. Lag-one autocorrelation remains at or below 10−2 in every cell except the shortest memory-horizon configuration (Lmem·h = 0.025) and the two Lmem = 500 cells at h ≥ 10−3, all three of which lie outside the production regime. Two boundary effects are therefore visible. The cells with Lmem = 500 at h ≥ 10−3 exhibit divergence in a minority of configurations, which reflects the stability limit of the explicit GL scheme at large retained memory rather than a property of the underlying system; all such failures occurred at orders below the admissible band. Conversely, at the smallest memory horizon Lmem·h = 0.025 the autocorrelation degrades. The production configuration Lmem·h = 0.1 lies in the interior of the stable region, and the production cell (h = 10−3, Lmem = 100) and the matched-horizon cell (h = 5 × 10−4, Lmem = 200) return statistically indistinguishable results, consistent with the 60 of 60 agreement reported in Section 3.3.5(b).
(h) Role of the bounded feedback term. The influence of the feedback parameters on the spectrum was examined directly rather than asserted. Over the admissible region of Table 4, the leading exponents are governed almost entirely by the fractional order: the partial correlation of κ with λ2 after controlling for α is −0.015, the sign of the effect is consistent in only five of the ten sampled orders, and the median relative effect of 3.6% is of the same magnitude as the estimator noise. Within the production range, the feedback term provides key-dependent trajectory variation while the sampled configurations remain inside the numerically validated hyperchaotic region; no increase in chaotic complexity is claimed.
To establish whether this is a property of the term itself or of its admissible magnitude, an exploratory campaign widened the gain by two orders of magnitude in a separate branch that does not affect the reported cryptosystem. The outcome is summarized in Table 11. At the widened gain the relative magnitude of the feedback term rises from 0.073% to 7.3% of the dominant term of Equation (31), while the hyperbolic tangent remains entirely outside its saturation regime. Boundedness is retained at all 10,000 evaluated triplets and the median attractor size increases by only 4.9%. Under these conditions the dependence of the second exponent on κ becomes measurable and systematic, exhibiting a consistent sign across all ten sampled orders and a partial correlation of −0.295, while the leading exponent remains unaffected. This selective response indicates that the observed dependence is structural rather than numerical, because a spectrum-wide numerical bias would be expected to shift both exponents simultaneously.
Table 11.
Exploratory widening of the feedback gain, evaluated on a separate branch. Each row reports a 10 × 10 × 10 Lyapunov grid measured against a freshly computed control grid at the production gain range under identical settings. The effect is quantified within fixed α slices to remove the dominant influence of the fractional order.
The sign of the dependence is negative: increasing the gain reduces the second exponent. Beyond a gain–sensitivity product of approximately κβ ≈ 0.18 at the lower edge of the fractional band, the second exponent crosses zero and hyperchaos is lost, so that the admissible gain is bounded above by a dynamical and not merely a numerical constraint; recovering a fully hyperchaotic region at the widened gain additionally required raising the lower order bound to α = 0.95. These findings are reported for completeness and to delimit the parameter space; the cryptosystem evaluated in Section 4 retains the production ranges of Table 4, within which the feedback parameters act as key-controlled degrees of freedom that are numerically shown to preserve the hyperchaotic regime throughout the sampled production region. No claim of increased chaotic complexity is made.
Taken together, the analyses of this subsection define a numerically validated operating region for the key schedule. The region is bounded (10,000 triplets), delimited from below by a measured rather than assumed order threshold (α* ≈ 0.9371, with the production bound 0.0029 above it), hyperchaotic at every sampled point (1000 of 1000, with λ2,min = 0.0546), corroborated by a methodologically independent chaos test (35 of 35 accepted against a separated negative control), stable under refinement of both the integration step and the retained memory, and served by an exponent estimator validated against an analytic invariant. Statistical randomness, key sensitivity, avalanche behavior and the cryptographic security of the generated keystream and ciphertext are evaluated separately in Section 4.
3.4. Position-Dependent Dynamic DNA Encoding
The eight valid binary-to-DNA mappings, byte-to-DNA conversion procedure, inverse decoding operation, and DNA-domain exclusive-OR operation were introduced in Section 2.6. This subsection therefore specifies how the proposed algorithm derives the three functional DNA rules and updates them independently at every byte position. The mechanism is applied to the complete serialized sequence produced in Section 3.2; consequently, an RGB image is processed as one continuous sequence after the channel-wise permutation and serialization stages.
Let P denote the serialized byte sequence supplied by the permutation stage, and let QDNA denote the non-overlapping chaotic subsequence allocated as the DNA-domain operand. Their common length is M, where M = HW for a grayscale image and M = 3HW for an RGB image:
P = (p1, p2, …, pM), QDNA = (γ1, γ2, …, γM)
M = HW (gray), M = 3HW (RGB), pi, γi ∈ {0, 1, …, 255}
M = HW (gray), M = 3HW (RGB), pi, γi ∈ {0, 1, …, 255}
Here, pi is the i-th permuted image byte and γi is the corresponding chaotic operand byte. Both values belong to the 8-bit integer alphabet {0, 1, …, 255}.
The key schedule contains three independent bytes assigned to the functional roles of image-byte encoding, chaotic-byte encoding, and output decoding. Let these schedule bytes be ηI, ηK, and ηO, respectively. To avoid overloading the Chen coefficient r, the resulting DNA-rule indices are denoted by . The three base-rule indices are obtained by reduction modulo eight:
The base-rule indices provide a secret-dependent offset for each functional role, but they are not held constant over the sequence. As established in Section 3.3, the fractional modified Chen generator produces a single chaotic byte sequence Q = (q0, q1,…). For a processed sequence of length M, the first 4M bytes allocated to the DNA stage are partitioned into one value stream and three mutually non-overlapping rule streams:
QDNA = (q0, q1, …, qM−1) = (γ1, γ2, …, γM)
RI = (qM, qM+1, …, q2M−1) = (ϕI(1), ϕI(2), …, ϕI(M))
RK = (q2M, q2M+1, …, q3M−1) = (ϕK(1), ϕK(2), …, ϕK(M))
RO = (q3M, q3M+1, …, q4M−1) = (ϕO(1), ϕO(2), …, ϕO(M))
RI = (qM, qM+1, …, q2M−1) = (ϕI(1), ϕI(2), …, ϕI(M))
RK = (q2M, q2M+1, …, q3M−1) = (ϕK(1), ϕK(2), …, ϕK(M))
RO = (q3M, q3M+1, …, q4M−1) = (ϕO(1), ϕO(2), …, ϕO(M))
The internally reindexed elements of RI, RK, and RO are denoted by ϕI(i), ϕK(i), and ϕO(i), respectively. At position i, the actual rule index for each functional role is computed by adding the relevant rule-stream byte to its base-rule index and reducing the result modulo eight:
Thus, each byte position is associated with the ordered rule triplet (I(i),K(i),O(i)). The same triplet may occur at more than one position, but its occurrence is governed by the three independently allocated rule streams rather than by a single image-wide DNA-rule configuration. The functional assignments are summarized in Table 12.
Table 12.
Functional assignment of the DNA value and rule streams.
Let E(v) denote the four-symbol DNA representation of byte v under the rule indexed by , and let D(S) denote the inverse decoding of a four-symbol DNA sequence S under the same rule. At byte position i, the permuted image byte and chaotic operand byte are encoded under their independently selected position-dependent rules. The resulting DNA sequences are combined by DNA-domain exclusive-OR and decoded under the position-dependent output rule:
Here, 𝒜i, i, and Ωi are DNA sequences of length four. The use of Ωi avoids reusing Gi, which denotes a Gray-code bit in Section 2.1. The DNA-domain exclusive-OR is applied independently to the four corresponding symbol pairs, as defined in Section 2.6. The byte sequence produced by the DNA stage is
Z = (z1, z2, …, zM), zi ∈ {0, 1, …, 255}
Sequence Z is passed directly to the two-pass ARX diffusion stage described in Section 2.7 and Section 3.5. The DNA stage changes the byte values without changing the sequence length or the ordering produced by the preceding permutation and serialization stage.
During decryption, the same session secret, public salt, image dimensions, image mode, and HKDF context reproduce the identical base-rule indices, chaotic operand stream, and three rule streams. The position-dependent rule indices are recomputed using Equation (47). Each received DNA-stage byte is encoded under the output rule, combined with the corresponding encoded chaotic operand by the same self-inverse DNA-domain exclusive-OR operation, and decoded under the image rule:
The recovered byte is equal to pi because the DNA-domain exclusive-OR operation is self-inverse, as established in Equation (12). No DNA-rule matrix or position-dependent rule metadata is transmitted with the ciphertext: all required values are reproduced deterministically from the same secret-dependent schedule and chaotic trajectory.
The term position-dependent dynamic DNA therefore has a precise operational meaning in the proposed design. The key schedule determines three base-rule offsets, whereas the three independent rule streams update the image, chaotic, and output rule indices at every byte position. This construction avoids a globally fixed DNA-rule triplet, thereby preserving exact reversibility while achieving position-dependent diversity.
3.5. Key-Schedule Integration of the SPARKLE256-Based Two-Pass ARX-Duplex Diffusion
This subsection instantiates the construction introduced in Section 2.7 using the image-mode-specific key schedule and the chaotic diffusion stream. Let Z = (z1, z2, …, zM) denote the output of the position-dependent dynamic DNA stage. As defined previously, M = HW for a grayscale image and M = 3HW for an RGB image. For RGB input, the serialized order remains red, green, and blue, and the duplex state is not reset at channel boundaries. The complete serialized RGB sequence is therefore processed as one continuous diffusion input.
For a sequence of length M, the fractional-order modified Chen generator supplies exactly 2M diffusion bytes. The segment is divided into two mutually non-overlapping subsequences,
Thus, no diffusion byte assigned to the forward pass is reused by the backward pass.
The two 16-byte duplex seeds are derived by the field-specific HKDF-Expand convention of Equation (19). The forward and backward seed fields are denoted by η(SF) and η(SB), respectively, and use the context values infoSF and infoSB. Their derivation is
η(SF) = HKDF − ExpandHMAC−SHA−512 (PRK, infoSF, 16)
η(SB) = HKDF − ExpandHMAC−SHA−512 (PRK, infoSB, 16)
SeedF = η(SF), SeedB = η(SB).
η(SB) = HKDF − ExpandHMAC−SHA−512 (PRK, infoSB, 16)
SeedF = η(SF), SeedB = η(SB).
After the forward duplex pass produces U, the 128-bit inter-pass mask is generated from Fold(U), the XOR of the two pass seeds, and the block count nb. Let TagΛ denote the mask-domain separation constant. Pad128(X) denotes right zero-padding of the byte string X to exactly 16 bytes; this is distinct from the 0 × 80-followed-by-zeros feedback padding used for partial duplex blocks. The mask-generation operator is defined by
MaskSP(a, b, nb): = Rate (SPARKLE256,10 ((Pad128(a)||b)⊕TagΛ(nb, len(a))))
Λ = MaskSP (Fold(U), SeedF⊕SeedB, nb)
Umask = MaskBlocks(U, Λ).
Λ = MaskSP (Fold(U), SeedF⊕SeedB, nb)
Umask = MaskBlocks(U, Λ).
In Equation (53), TagΛ encodes the valid folded-byte count len(a) and the block count nb in the designated capacity-side words before the SPARKLE256 permutation is applied. Since the same Λ is XORed into the first and last intermediate blocks, Fold(Umask) = Fold(U) over their common valid-byte range. The decryptor can therefore regenerate Λ without transmitting it.
Decryption first inverts the backward duplex pass, recomputes and removes the inter-pass mask, and then inverts the forward duplex pass:
The quantities required by the SPARKLE256-based two-pass ARX-duplex diffusion are summarized in Table 13. The two non-overlapping diffusion keystreams are obtained from the fractional-order modified Chen sequence, whereas the forward and backward duplex states are initialized by independently derived 16-byte HKDF fields. The inter-pass value Λis not an additional secret field; it is deterministically generated from the forward-pass intermediate sequence, the two pass seeds, and the block count according to Equation (53). Accordingly, no diffusion-specific value other than the two pass seeds is introduced as independent keying material.
Table 13.
Assignment of key-schedule and diffusion quantities in the SPARKLE256-based two-pass ARX-duplex diffusion.
To examine propagation beyond the structural definition of the diffusion stage, byte-level dependency and bit-level avalanche analyses were performed. For RGB images, Equation (54) operates on the complete 3HW-byte serialized sequence without state reinitialization at channel boundaries. The results showed broad propagation across the evaluated output domain, bit-transition probabilities centered close to the ideal one-half level, and no persistently unaffected output-bit region under the tested perturbations. These findings provide empirical support for the propagation characteristics of the construction rather than a formal cryptographic security proof.
3.6. Encryption/Decryption Algorithm
The complete full-configuration encryption and decryption procedures are summarized in Algorithms 1 and 2. The pseudocode follows the notation and operation order established in Section 3.1, Section 3.2, Section 3.3, Section 3.4 and Section 3.5. Static DNA-rule selection, direct-XOR diffusion, integer-order integration, and single-trajectory permutation remain ablation configurations and are not included in the proposed full procedure.
For RGB images, Gray-code conversion and adaptive bit-plane permutation are applied channel-wise before the processed channels are serialized as R||G||B. The subsequent key-schedule-driven chaotic, DNA, and two-pass ARX diffusion stages operate on this merged sequence rather than within a per-channel loop.
| Algorithm 1. Encryption Process |
| Input: I of size H × W (grayscale) or H × W × 3 (RGB); confidential 256-bit session secret Ks; public NOAA/SWPC schedule header pub. Output: Cipher packet containing the ciphertext image IC and public reconstruction metadata.
|
| Algorithm 2. Decryption Process |
| Input: Cipher packet containing IC and pub; the same confidential 256-bit session secret Ks. Output: Reconstructed image .
|
4. Experimental Results and Security Analysis
This section evaluates the proposed encryption algorithm through comprehensive experiments on natural and medical RGB and grayscale images. The evaluation includes NIST SP 800-22 and Dieharder statistical randomness testing, histogram and chi-square analysis, correlation coefficient analysis, information entropy, differential attack analysis, key-space analysis, cropping and noise attacks, known-plaintext and chosen-plaintext attacks, an ablation study, and computational complexity and encryption speed analysis. All experiments were conducted in an Ubuntu 22.04 environment on a workstation equipped with an AMD Ryzen 9 7950X3D 16-core processor (Advanced Micro Devices, Inc., Santa Clara, CA, USA), 128 GB of RAM (Kingston Technology Company, Inc., Fountain Valley, CA, USA), and an NVIDIA GeForce RTX 4090 GPU (NVIDIA Corporation, Santa Clara, CA, USA) with 24 GB of memory. The experimental dataset consisted of standard benchmark test images and medical images selected from the Medical Imaging (CT-Xray) Colorization dataset.
4.1. NIST SP 800-22
NIST Special Publications comprise a series of reports produced by NIST’s Information Technology Laboratory to present research, guidelines, and outreach on information system security and related practices. These publications are intended to help federal agencies (and voluntary non-federal users) implement cost-effective security and privacy measures for information systems.
To determine whether the binary outputs of the proposed encryption algorithm contain statistically detectable regularities, the official NIST Statistical Test Suite (STS) 2.1.2 implementation of NIST SP 800-22 Rev. 1a was applied to three independently generated output groups: the fractional modified Chen keystream, the operational ciphertext, and an AES-256-CTR reference output. Each group comprised 100 independent binary sequences of 1,000,000 bits, corresponding to 100,000,000 evaluated bits per group.
For the NIST STS evaluation, each of the 100 input sequences was generated as an independent test instance. For the i-th sequence, an independent 256-bit session secret was generated by a CSPRNG together with a distinct test-generated NOAA/SWPC public salt . Thus, the 100 sequences were not obtained by partitioning a single long output, but were generated from 100 separate pairs. For the fractional modified Chen keystream group, each pair was processed through the HKDF-based key-scheduling procedure described in Section 3.1 to derive a session-specific chaotic initial state, fractional order, Chen-system coefficients, and nonlinear-feedback parameters, from which 125,000 bytes (106 bits) of keystream were generated. For the operational-ciphertext group, the corresponding pair was used to encrypt a standard RGB test image selected cyclically from Lena, Baboon, and Peppers, and the first 125,000 bytes of the flattened ciphertext were used as the NIST STS input. For the AES-256-CTR reference group, the same independently generated was used as the AES-256 key together with a distinct per-sequence IV, and 125,000 zero bytes were encrypted in CTR mode to obtain the corresponding 106-bit reference output. The distinct values were used solely as public salt and were not credited with any additional secret entropy; consistent with the key-scheduling model defined in Section 3.1, the secret entropy of each test instance was provided by the independently generated 256-bit .
The significance level was set to α = 0.01. All 188 subtest rows generated by the 15 statistical test families were retained. In particular, the separate rows produced by tests with multiple outputs were evaluated individually rather than being reduced to a single minimum value or combined at the test-family level.
For each subtest row, an individual sequence was counted as passing when its test p-value satisfied p ≥ α. Accordingly, the expected passing probability was defined as
The lower acceptance bound for the observed passing proportion was calculated using the three-standard-deviation interval recommended for NIST STS evaluations:
where m denotes the number of sequences eligible for the corresponding subtest row. For m = 100 and α = 0.01, the unrounded lower bound is pLB = 0.960150. Consequently, a proportion of 96/100 lies slightly below the acceptance bound. For the Random Excursions and Random Excursions Variant tests, the bound was recalculated using the smaller number of eligible sequences produced by the corresponding state-visit condition.
The second evaluation criterion was the uniformity of the individual sequence p-values. The resulting uniformity PT-value was required to satisfy
PT ≥ 10−4
A subtest row was accepted only when both the passing-proportion criterion and the uniformity criterion were satisfied. Table 14 reports the number of accepted rows for each statistical test family and each evaluated output group.
Table 14.
NIST SP 800-22 subtest-row results for the proposed outputs and the AES-256-CTR reference.
As shown in Table 14, 187 of the 188 subtest rows (99.47%) satisfied both NIST acceptance criteria for the fractional modified Chen keystream, while 185 of 188 rows (98.40%) were accepted for the operational ciphertext. Under the identical protocol, the AES-256-CTR reference satisfied 184 of 188 rows (97.87%). The fractional modified Chen keystream produced one passing-proportion flag, the operational ciphertext produced three passing-proportion flags, and the AES-256-CTR reference produced four passing-proportion flags. No uniformity flags were observed for any of the three evaluated groups. These row-level differences provide a useful statistical reference context, but they do not imply cryptographic superiority or equivalence between the proposed method and AES-256-CTR.
For the fractional modified Chen keystream, the only flagged row occurred in Non-overlapping Template subtest 72, with a passing proportion of 96/100. For the operational ciphertext, the three flagged outcomes occurred in Non-overlapping Template subtests 34, 47, and 91, with passing proportions of 96/100, 95/100, and 96/100, respectively. For the AES-256-CTR reference, the four flagged outcomes occurred in Non-overlapping Template subtests 11, 95, 116, and 121, with passing proportions of 96/100, 96/100, 95/100, and 96/100, respectively. All uniformity PT-values for the three evaluated groups remained above 10−4. These isolated row-level outcomes were retained and reported without reclassification or family-level aggregation.
Overall, the NIST STS results do not reveal a broad or systematic statistical deficiency in either the fractional modified Chen keystream or the ciphertext under the evaluated sample configuration.
4.2. Dieharder Statistical Test Suite
The Dieharder statistical test suite extends the 18 original Diehard tests with additional statistical tests, including tests derived from the NIST suite, and is widely used for evaluating random and pseudorandom number generators. The suite examines generated sequences from complementary perspectives, including bit balance, run structure, matrix rank, permutation behavior, spatial distribution, serial dependence, and the distribution of the resulting p-values. Dieharder classifies each reported result as passed, weak, or failed according to the position of its p-value within the configured acceptance intervals. Isolated weak outcomes may occur even for statistically well-behaved generators, whereas persistent or reproducible failures provide stronger evidence of non-uniformity. Foreman et al. further emphasize that file-based Dieharder testing requires a sufficiently large quantity of input data because repeated reading of the same finite input can introduce artificial dependencies and produce misleading results. For smaller files, the numbers of test samples and p-value samples should therefore be adjusted to prevent input reuse [38].
In the present study, the Dieharder analysis was conducted on the same three output groups used in the NIST SP 800-22 evaluation: the fractional modified Chen keystream, the operational ciphertext, and an AES-256-CTR reference output. Each group comprised 12,000 independently generated test sessions, with each session contributing 125,000 bytes, resulting in 1,500,000,000 bytes of input data per group. The resulting inputs therefore represent concatenated outputs from independent test sessions rather than a single long message generated under one key.
A total of 79 test cases were considered, of which 77 satisfied the executable zero-rewind configuration. The Diehard Sums test was excluded because it is marked “Do Not Use” in the installed Dieharder test catalog, while one additional case could not be executed under the strict zero-rewind constraint. The tsamples values were fixed according to the zero-rewind calibration and applied unchanged across all three output groups, while all 77 configurations were executed with psamples = 100. Because several Dieharder tests produce multiple output rows for different tuple lengths or test components, these 77 configurations generated 111 result rows for each output group, as summarized in Table 15. All reported executions completed with zero input rewinds and the passed, weak, and failed classifications were retained exactly as produced by the installed Dieharder implementation; no retrospective reclassification of the native results was performed.
Table 15.
Summary of the Dieharder statistical test results.
The complete 111-row results show broadly similar overall profiles for the three evaluated groups. The fractional modified Chen keystream produced 109 passed, 2 weak, and 0 failed rows, whereas the operational ciphertext produced 106 passed, 5 weak, and 0 failed rows. The AES-256-CTR reference produced 108 passed, 3 weak, and 0 failed rows. All three groups completed the analysis with zero input-rewind rows. Because every result row was generated using 100 p-value samples, all 111 rows satisfy the Np ≥ 10 criterion. Accordingly, the complete 111-row result set also constitutes the primary evaluation set.
The small number of weak outcomes observed across all three groups indicates that isolated extreme p-value distributions may occur even under the 100-p-value sampling configuration. These outcomes should therefore be interpreted in the context of the complete test set and the corresponding sampling conditions rather than in isolation. Nevertheless, the AES-256-CTR comparison is used only as a contextual statistical reference and does not imply cryptographic security equivalent to or superior to AES-256-CTR. Overall, no failed outcomes were observed for either the fractional modified Chen keystream or the operational ciphertext across the 111 evaluated rows, providing supporting evidence that no broad or persistent statistical anomaly was detected under the tested zero-rewind, 100-psample configuration.
4.3. Histogram and Chi-Square Analysis
In image encryption, histogram analysis evaluates the flatness of the pixel-value distribution in the encrypted image and its lack of correlation with the plain image, thereby assessing the confidentiality provided by the encryption process [39]. To quantitatively evaluate histogram uniformity, Pearson’s chi-square goodness-of-fit test was employed. For 8-bit images, using a significance level of α = 0.05 and 255 degrees of freedom, the critical chi-square value is 293.247. Accordingly, χ2 values below this threshold indicate that the encrypted-image histogram does not significantly deviate from a uniform distribution [40]. The test statistic measures the deviation between the observed frequency of each intensity level and the frequency expected under an ideal uniform distribution and is calculated as
where L denotes the total number of possible intensity levels, O(k) represents the observed frequency of intensity level k, and E(k) is its expected frequency under the uniform-distribution assumption. For an image channel of size M × N, the expected frequency is obtained as
The uniformity assumption is not rejected when the calculated chi-square statistic satisfies
where is the critical chi-square value at significance level α, and df denotes the number of degrees of freedom. For an 8-bit image, L = 256 and therefore df = L − 1 = 255. At α = 0.05, the corresponding critical value is . Accordingly, a calculated value below 293.247 indicates that the encrypted-image histogram does not exhibit a statistically significant deviation from a uniform distribution.
Figure 9 presents the histogram distributions of representative plain and encrypted images in both RGB and grayscale formats. The plain-image histograms exhibit highly concentrated, irregular, and image-dependent distributions, reflecting the dominant intensity characteristics of the original images. In contrast, the histograms of the encrypted images are distributed more evenly across the entire intensity range from 0 to 255. The corresponding cipher images also display noise-like visual patterns, indicating that the proposed algorithm effectively suppresses the statistical characteristics and visual information of the plain images.
Figure 9.
Histogram analysis of plain and encrypted test images: (a) plain images, (b) histograms of plain images, (c) encrypted images, (d) histograms of encrypted images.
The quantitative chi-square results presented in Table 16 support the visual observations obtained from Figure 9. At the significance level α = 0.05 and df = 255, the critical chi-square value is 293.247. All calculated values remain below this threshold and therefore satisfy the histogram-uniformity criterion. For the encrypted RGB images, the chi-square statistics range from 238.1849 for Peppers to 272.9089 for Lena, whereas the grayscale-image results range from 227.0625 for Peppers to 272.9609 for Dental. The largest statistic among all tested images is obtained for the grayscale Dental image, with χ2 = 272.9609; however, this value also remains below the critical threshold. Consequently, the null hypothesis that the encrypted pixel values follow a uniform distribution cannot be rejected for any of the tested RGB or grayscale images. These results indicate that the encrypted-image histograms exhibit no statistically significant deviation from the expected uniform distribution under the chi-square test, consistent with the visually uniform histogram characteristics observed in Figure 9.
Table 16.
Chi-square (χ2) test results for the encrypted RGB and grayscale images at the α = 0.05 significance level and df = 255. A result is considered to pass when χ2 < 293.247.
4.4. Correlation Coefficient Analysis
Correlation analysis is used to quantitatively measure the linear relationship between neighboring pixels in the horizontal, vertical, and diagonal directions and to evaluate the effectiveness of the confusion and diffusion mechanisms of an encryption algorithm. The correlation coefficient represents the linear dependence between adjacent value pairs at the bit or pixel level, and a secure encryption algorithm is expected to eliminate this dependence [41].
In a robust image encryption system, the absolute values of the correlation coefficients calculated in the horizontal, vertical, and diagonal directions are expected to be low and close to zero. This indicates that the high dependency between neighboring pixels in the plain image is effectively eliminated through the encryption process [41]. Correlation coefficients close to zero suggest that there is no significant linear relationship between the pixels of the encrypted image and support the robustness of the algorithm against statistical attacks [42]. In contrast, high correlation values indicate that the dependency between neighboring pixels has not been sufficiently removed and may suggest inadequacies in the confusion or diffusion stages.
To quantitatively evaluate the statistical dependence between adjacent pixels in the plain and encrypted images, Pearson’s correlation coefficient was calculated in the horizontal, vertical, and diagonal directions. The coefficient measures the degree of linear relationship between the intensity values of adjacent pixel pairs and is calculated as
where xi and yi denote the intensity values of the i-th pair of adjacent pixels, and represent the corresponding mean intensity values, and N is the total number of examined pixel pairs. The coefficient rxy ranges from −1 to 1. Values close to 1 or −1 indicate a strong positive or negative linear correlation, respectively, whereas values close to zero indicate that the adjacent pixels are statistically uncorrelated. Therefore, for a secure encrypted image, the correlation coefficients in all three directions are expected to approach zero, indicating that the encryption process effectively eliminates the strong spatial dependence present in the plain image.
As shown in Figure 10, the adjacent pixels of the plain images exhibit highly concentrated and structured distributions in the horizontal (H), vertical (V), and diagonal (D) directions, indicating strong spatial correlation between neighboring pixel values. In contrast, the corresponding distributions of the encrypted images are widely and uniformly dispersed over the entire pixel-value range, without any visible linear or clustered pattern. This substantial disruption of the original correlation structure demonstrates that the proposed encryption method effectively removes the statistical dependence between adjacent pixels. Consequently, the encrypted images do not preserve recognizable spatial information from the plain images, which strengthens their resistance to correlation-based statistical attacks.
Figure 10.
Correlation analysis of adjacent pixels in the plain and encrypted images: (a) plain images, (b) three-dimensional scatter distributions of horizontally, vertically, and diagonally adjacent pixels in the plain images, (c) encrypted images, and (d) corresponding scatter distributions of the encrypted images.
As shown in Table 17, the original test images exhibit strong adjacent-pixel dependence in the horizontal, vertical, and diagonal directions, with correlation coefficients ranging from 0.6760 to 0.9964 across the evaluated RGB channels and grayscale representations. After encryption, this spatial dependence is substantially suppressed, and the reported correlation coefficients are concentrated near zero. For the RGB channel averages, the horizontal coefficients range from −0.0079 to 0.0104, the vertical coefficients from −0.0139 to 0.0147, and the diagonal coefficients from −0.0127 to 0.0073. Similarly, the encrypted grayscale images yield horizontal, vertical, and diagonal coefficients within [−0.0174, 0.0280], [−0.0287, 0.0191], and [−0.0233, 0.0301], respectively. Across the individual encrypted RGB channels, the largest absolute correlation coefficient is 0.0436, observed for the vertical correlation of the blue channel of the Dental image; this value nevertheless remains small relative to the strong correlations present in the corresponding plain images. Overall, the results show that the encryption process substantially reduces the linear dependence between adjacent pixels in both natural and medical images, yielding ciphertexts with strongly decorrelated neighboring-pixel values.
Table 17.
Adjacent-pixel correlation coefficients of the plain and encrypted test images in the horizontal, vertical, and diagonal directions for individual RGB channels, their channel averages, and the grayscale representations.
Table 18 compares the adjacent-pixel correlation coefficients obtained for the encrypted RGB Lena image with those reported in [42,43,44,45]. The proposed method yields horizontal, vertical, and diagonal correlation coefficients of 0.0104, 0.0147, and 0.0011, respectively. The corresponding coefficients reported by the compared methods range from −0.0073 to 0.0238 in the horizontal direction, from −0.0009 to 0.0149 in the vertical direction, and from −0.0076 to 0.0038 in the diagonal direction. The proposed horizontal and vertical coefficients therefore remain within the ranges reported by the existing methods, while the diagonal coefficient has the smallest absolute magnitude among the compared results. Overall, all three coefficients obtained by the proposed method remain close to zero and are consistent with the low adjacent-pixel correlation levels reported in the literature.
Table 18.
Comparison of horizontal, vertical, and diagonal adjacent-pixel correlation coefficients for the encrypted RGB Lena image with existing methods.
4.5. Information Entropy
Information entropy analysis quantitatively evaluates the randomness, uniformity, and unpredictability of pixel-value distributions in encrypted images and is commonly performed using Shannon entropy [46]. For an 8-bit image, the theoretical maximum entropy is 8 bits; therefore, values approaching this limit, typically around 7.99 bits, indicate that the encrypted-image histogram is close to a uniform distribution and that the pixel values are statistically difficult to predict. High entropy is consequently regarded as an important indicator of resistance to statistical analysis and of the unpredictability introduced by the encryption process.
The information entropy is calculated as
where L denotes the total number of possible intensity levels and pi represents the occurrence probability of the i-th intensity level. For an 8-bit grayscale image or an individual color channel, L = 256.
As reported in Table 19, the information entropy values of the original images vary considerably across the RGB channels and grayscale representations, ranging from 3.0882 for the green channel of the Brain image to 7.7526 for the blue channel of the Mandrill image. This variation reflects the different intensity distributions and structural characteristics of the natural and medical test images. After encryption, however, the entropy values become tightly concentrated near the theoretical maximum of 8 bits. Across all encrypted RGB channels and grayscale representations, the entropy values range from 7.9966 to 7.9978. The minimum value of 7.9966 is observed for both the blue channel of Lena and the green channel of Mandrill, whereas the maximum value of 7.9978 is obtained for the red channel of Chest. The average RGB entropy values are similarly confined to a narrow interval of 7.9970–7.9974. Despite the substantial variation among the original images, the encrypted outputs therefore exhibit consistently high entropy and only negligible variation across the evaluated dataset. These results indicate that the encryption process substantially reduces the intensity-level statistical redundancy present in the input images and produces ciphertext distributions with entropy values very close to the theoretical 8-bit maximum.
Table 19.
Information entropy values of the plain and encrypted RGB and grayscale test images.
According to the comparative results presented in Table 20, the proposed method achieves entropy values of 7.9976, 7.9968, and 7.9966 for the red, green, and blue channels of the encrypted Lena image, respectively. Compared to [47], the proposed method yields higher entropy values in all three channels. Relative to [48], the proposed method produces a slightly higher red-channel entropy by 0.0005, while the green- and blue-channel values are lower by 0.0001 and 0.0012, respectively. Despite these small channel-wise differences, all three entropy values of the proposed method remain very close to the theoretical maximum of 8 bits. Overall, the results indicate that the proposed method achieves entropy levels comparable to those reported by [48] and consistently higher than those reported in [47].
Table 20.
Comparison of channel-wise information entropy values for the encrypted RGB Lena image with existing methods.
4.6. Differential Attack Analysis
Differential attack analysis evaluates the sensitivity and diffusion capability of an encryption algorithm by examining the effect of a small modification, typically applied to a single pixel in the plain image, on the encrypted output generated using the same secret key. This analysis is commonly quantified using the Number of Pixels Change Rate (NPCR) and the Unified Average Changing Intensity (UACI). NPCR measures the percentage of pixels whose values differ between two encrypted images produced from plain images that differ only slightly, whereas UACI measures the normalized average intensity difference between the corresponding encrypted pixels [41]. For a secure 8-bit image encryption algorithm, the NPCR value is theoretically expected to approach approximately 99.61%, while the UACI value should be close to 33.46%. These values indicate that a minor change in the plain image produces widespread and substantial changes throughout the encrypted image [40]. Therefore, NPCR and UACI results close to these reference values indicate strong plain-image sensitivity, effective diffusion, and increased resistance to differential and chosen-plaintext attacks.
To quantitatively evaluate the sensitivity of the proposed encryption method to minor plain-image modifications, NPCR and UACI were calculated using two encrypted images generated under the same secret key. The corresponding plain images differed only by a single-pixel modification. NPCR measures the proportion of pixels whose values change between the two encrypted images and is calculated as
where D(i,j) is defined as
UACI measures the average normalized intensity difference between the corresponding pixels of the two encrypted images and is calculated as
Here, C1 and C2 denote the encrypted images obtained from the original and single-pixel-modified plain images, respectively, using the same secret key. M and N represent the image dimensions, while 255 denotes the maximum intensity value of an 8-bit image. For color images, NPCR and UACI are calculated separately for the red, green, and blue channels.
The differential attack results presented in Table 21 show that a single-pixel modification in the plain image produces widespread changes throughout the corresponding ciphertext for both RGB and grayscale images. Across the individual RGB channels and grayscale experiments, the NPCR values range from 99.5453% for the red channel of the Chest image to 99.6521% for the blue channel of the Chest image, while the UACI values range from 33.1499% for the red channel of Peppers to 33.6253% for the red channel of Mandrill. Across the 11 test images, the mean RGB results are 99.6115% for NPCR and 33.4546% for UACI, whereas the corresponding grayscale means are 99.5999% and 33.4608%, respectively. These values remain close to the theoretical reference levels of approximately 99.61% for NPCR and 33.46% for UACI. Overall, the results indicate that minor plain-image modifications are propagated extensively through the encrypted output across both natural and medical test images.
Table 21.
NPCR and UACI results obtained for the encrypted RGB and grayscale test images under a single-pixel plain-image modification.
According to the comparative results presented in Table 22, the proposed method achieves an NPCR of 99.6170% and a UACI of 33.4713% for the encrypted Lena image. These results were compared to the values reported in [49,50,51,52,53,54]. Among the evaluated methods, the proposed scheme yields the highest NPCR, while its UACI remains very close to the theoretical reference level of approximately 33.46%. The compared studies likewise report UACI values concentrated near the theoretical expectation, although [50] shows a noticeably larger deviation in both NPCR and UACI. Overall, the proposed method exhibits differential-response characteristics that are consistent with the expected behavior of an 8-bit encrypted image and comparable to the results reported in the existing literature.
Table 22.
Comparison of NPCR and UACI values for the encrypted Lena image with existing methods.
4.7. Key-Space and Effective-Key Analysis
The confidential root of the proposed scheme is the 256-bit session secret Ks, independently generated for each encryption instance by a cryptographically secure pseudorandom number generator. The NOAA/SWPC values are used only as public salt/context information and therefore contribute no secret entropy. Likewise, the chaotic initial states, system coefficients, fractional order, nonlinear-feedback parameters, trajectory selectors, DNA controls, and ARX initialization values are deterministic outputs of the HMAC-SHA-512-based HKDF schedule and must not be treated as independent keys. Accordingly, the nominal confidential root-secret domain is
The 512-bit HKDF intermediate values and the multiple domain-separated output fields do not increase the entropy beyond that of the original 256-bit secret. Hence, 2256 denotes the nominal input domain rather than a claim that all session secrets necessarily produce numerically distinct operational configurations.
To determine whether finite-precision parameter mapping introduces a smaller effective space, the complete derivation chain Ks → HKDF → uf → θf was analyzed. The main quantization loss occurs in the four 64-bit chaotic initial-state fields. Each such field is mapped to 3 × 252 + 1 distinct binary64 values, corresponding to approximately 53.585 bits of representational capacity and therefore a loss of about 10.415 bits relative to the original 64-bit field. This reduction is mainly caused by the integer-to-binary64 conversion preceding the bounded affine mapping. In contrast, exhaustive evaluation of the eight 16-bit fields controlling a, b, c, d, r, α, κ, and β showed that all 65,536 possible values remain distinct.
After accounting for these finite-precision effects, the representational capacity of the chaotic initial states and system parameters is approximately
4(53.585) + 8(16) = 342.34 bits.
Including the effective discrete selector, DNA, and ARX control fields increases the complete operational configuration capacity to approximately 647.34 bits. These values are not additional secret entropy and must not be multiplied with the 2256 root-secret domain; they only indicate whether the numerical parameterization creates a capacity bottleneck. Since the chaotic-parameter representation alone exceeds 256 bits, the measured quantization loss does not impose a demonstrated bottleneck below the root-secret space.
Equivalent-key behavior was additionally examined at both the derived-configuration and keystream levels. Across 106 distinct 256-bit session secrets, all examined derived configurations were distinct, and no tolerance-equivalent parameter pairs were observed down to the evaluated threshold. However, this finite experiment does not prove injectivity over the full 2256 domain; statistically, the zero-collision result excludes only substantially smaller effective spaces, approximately below 237.3 at the 5% level.
A second experiment propagated 105 independently generated session secrets through the complete chaotic generator and produced a 4096-byte keystream for each secret. All resulting keystreams were distinct, with no collisions for prefixes of eight bytes or longer. Short-prefix positive controls produced collision counts consistent with birthday-bound expectations, confirming the operation of the collision detector. Nevertheless, the corresponding statistical power excludes only effective spaces below approximately 230.6; therefore, these results provide empirical evidence against severe many-to-one collapse rather than proof of a 2256 effective space.
Finally, numerical-resolution analysis showed that extremely close chaotic states can become equivalent under binary64 integration. In particular, a one-unit-in-the-last-place (1-ULP) perturbation of x0 was absorbed during numerical evolution and produced an identical evaluated keystream. The measured equivalence widths nevertheless corresponded to estimated chaotic-state capacities of approximately 2275.0 for a 4096-byte keystream and 2325.6 for a 65,536-byte keystream, both remaining above the 256-bit root-secret domain. Moreover, the smallest normalized parameter-space separation observed among the tested one-bit-related session-secret pairs was 0.363, far above the identified ULP-scale equivalence region.
Taken together, these results distinguish the nominal root-secret space, the representational capacity of the derived numerical configuration, and the exact but analytically unknown effective key space of the complete finite-precision implementation. Finite-precision entropy reduction and local numerical equivalence are present and have been explicitly quantified; however, neither analysis reveals a capacity bottleneck below the 256-bit root-secret domain, and no configuration- or keystream-level collisions were observed in the conducted experiments. Accordingly, 2256 is reported in this work strictly as the nominal confidential root-secret space and an upper bound on exhaustive secret search, rather than as a formally proven 2256 effective key space.
4.8. Analysis of Cropping and Noise Attacks
Cropping and noise attack analyses are standard security evaluation procedures used to assess the robustness of an image encryption system against partial data loss and external distortions. In a cropping attack, a specific region of the encrypted image is intentionally removed or masked, whereas in a noise attack, random distortions such as Gaussian noise or salt-and-pepper noise are added to the encrypted data to simulate transmission errors [55]. These analyses determine whether the encryption algorithm can recover the original image with sufficient quality under real-world conditions involving transmission losses or malicious interference.
As presented in Figure 11, the proposed algorithm maintains acceptable visual recovery performance under a 20% corner-cropping attack applied to the encrypted Lena image. Although the cropped ciphertext regions introduce noticeable distortion, color degradation, and artifact propagation in the decrypted outputs, the main structural content of the image remains visually recognizable in all four cases. The results also show that the impact of cropping depends on the attacked corner; while all attacks degrade the reconstruction quality to some extent, the decrypted image still preserves sufficient perceptual information for scene identification. These findings indicate that the proposed method provides a meaningful degree of robustness against partial ciphertext loss, even though the recovered images are not artifact-free.
Figure 11.
Robustness of the proposed algorithm against a 20% corner-cropping attack on the encrypted Lena image: (a–d) cropped ciphertexts with the top-left, bottom-right, bottom-left, and top-right corners removed, respectively; (e–h) corresponding decrypted images obtained from (a–d), respectively.
Figure 12 shows that the proposed algorithm maintains acceptable decryption robustness under 10% and 25% salt-and-pepper noise attacks, where the principal contours and semantic content of the Lena image remain identifiable despite visible artifacts. However, under 50% noise corruption, the decrypted result exhibits substantial visual distortion, indicating that excessive ciphertext contamination weakens the reconstruction capability. Overall, the findings confirm that the proposed algorithm is resistant to moderate impulse-noise attacks, although the recovery quality degrades progressively with increasing noise density.
Figure 12.
Salt-and-pepper noise attack resilience analysis: (a–c) encrypted images corrupted with 10%, 25%, and 50% noise levels; (d–f) corresponding decrypted images.
4.9. Known-Plaintext and Chosen-Plaintext Attacks
In a known-plaintext attack, an adversary uses one or more available plain-image–cipher-image pairs to infer the secret key or an equivalent encryption relationship. In a chosen-plaintext attack, the adversary selects specific plain images and analyzes their corresponding cipher images to identify structural weaknesses or reusable relationships in the encryption process [56].
Known-plaintext resistance was evaluated under a same-session configuration rather than relying on session uniqueness. The same 256-bit session secret, public salt, image dimensions, channel mode, and key-schedule context were retained for all evaluated encryptions. A plaintext–ciphertext pair generated from the Lena image was used as the known pair, while Brain and House were selected as independent target plaintexts. Two simple bytewise transfer relations were extracted from the known pair: an XOR-based relation and a modular-additive relation. These relations were subsequently applied to the corresponding target ciphertexts to determine whether information inferred from the known pair could be transferred to reconstruct the target plaintexts.
To quantify the reconstruction quality of the resulting transfer guesses, the exact pixel-match ratio, mean squared error (MSE), peak signal-to-noise ratio (PSNR), structural similarity index (SSIM), and Pearson correlation coefficient were evaluated. A successful transfer would be expected to produce a high exact-match ratio, low MSE, high PSNR and SSIM, and strong correlation with the target plaintext. In contrast, an exact-match ratio close to the random 8-bit coincidence probability of 1/256 (0.390625%), together with low PSNR and SSIM and near-zero correlation, indicates that the inferred bytewise relation does not provide meaningful reconstruction of the target image.
As reported in Table 23, neither transfer relation successfully reconstructs the evaluated target plaintexts. For the Brain image, the exact pixel-match ratios are 0.3677% for the XOR relation and 0.4013% for the modular-additive relation. The corresponding MSE values are 15,921.9637 and 15,917.7872, while the PSNR values are 6.1108 dB and 6.1120 dB, respectively. The SSIM values of 0.0064 and 0.0054, together with correlation coefficients of 0.0030 and 0.0009, indicate negligible structural and linear similarity between the transfer guesses and the actual Brain plaintext. For the House image, the exact pixel-match ratios are 0.3677% and 0.4059%, again remaining close to the random 8-bit coincidence level. The corresponding MSE values are 7706.8451 and 7701.9713, PSNR values are 9.2620 dB and 9.2648 dB, SSIM values are 0.0092 and 0.0120, and the correlation coefficients are −0.0026 and 0.0005. These results likewise show that the transferred relations do not preserve meaningful structural or pixel-level information about the House plaintext.
Table 23.
Quantitative known-plaintext transfer analysis under an identical session secret and schedule context.
The visual results presented in Figure 13 are consistent with the quantitative findings. Although the Brain and House target plaintexts contain clearly recognizable anatomical and structural content, both the XOR-based and modular-additive transfer guesses exhibit noise-like patterns with no visually recoverable information from the corresponding target images. Therefore, even when the session secret and schedule context are intentionally held fixed, the simple bytewise relationships extracted from the known plaintext–ciphertext pair do not meaningfully transfer to the evaluated target ciphertexts.
Figure 13.
Visual comparison of target plaintexts and the corresponding XOR-based and modular-additive transfer guesses in the same-session known-plaintext analysis.
As a complementary chosen-plaintext experiment, homogeneous all-black and all-white images were encrypted and examined, as shown in Figure 14. Despite the extreme structural regularity of these inputs, their corresponding ciphertexts exhibit visually noise-like distributions without discernible resemblance to the selected plaintexts. The three-dimensional intensity surfaces likewise show broadly dispersed ciphertext values rather than concentrated structures associated with the homogeneous inputs.
Figure 14.
Chosen-plaintext attack analysis using homogeneous images: (a) all-black plain image, (b) cipher image of (a), (c) all-white plain image, (d) cipher image of (c), (e) three-dimensional histogram surface of (b), and (f) three-dimensional histogram surface of (d).
This qualitative experiment provides an initial visual assessment of highly structured homogeneous plaintexts, as shown in Figure 14. However, visual inspection alone is insufficient for a rigorous chosen-plaintext security evaluation. A quantitative structured differential analysis was therefore conducted to complement the qualitative assessment of chosen-plaintext resistance.
The structured differential analysis considered eight plaintext families comprising all-black, all-white, 1 × 1 checkerboard, 8 × 8 checkerboard, horizontal stripes, vertical stripes, a single-pixel impulse, and a sparse impulse pattern. For each plaintext P, a corresponding plaintext P′ was generated by changing exactly one bit while keeping the 256-bit session secret, public salt, image dimensions, channel mode, and key-schedule context unchanged. Accordingly, the resulting ciphertext difference, ΔC = C⊕C′, reflects the propagation of a controlled plaintext perturbation under an identical encryption configuration. The evaluation included 304 grayscale 256 × 256 pairs, 408 RGB 256 × 256 pairs, and 120 grayscale 512 × 512 pairs, yielding a total of 832 structured differential pairs.
The differential ciphertexts were evaluated using the output bit-change ratio, NPCR, UACI, byte-level differential entropy, chi-square uniformity, adjacent-byte correlation, plaintext–ciphertext differential correlation, and, for RGB images, channel-wise NPCR and UACI. NPCR and UACI were additionally assessed using their corresponding theoretical critical values rather than being interpreted solely according to their proximity to nominal reference values.
As shown in Table 24, the mean output bit-change ratios remain close to the ideal value of 0.5, while the NPCR and UACI values remain close to their theoretical expectations across all evaluated image settings. The observed critical-test pass rates are also broadly consistent with the nominal significance level. These results indicate that the tested structured single-bit plaintext perturbations did not reveal a systematic differential distinguisher.
Table 24.
Quantitative structured chosen-plaintext differential analysis of the proposed method.
To further examine response-dependent chosen-plaintext behavior, a separate two-stage adaptive experiment was conducted under the same session secret, public context, image geometry, and encryption configuration. In the first stage, 16 predefined single-bit queries covering the eight plaintext families were evaluated. The plaintext family and bit position exhibiting the largest standardized deviation in the ciphertext bit-change ratio from the theoretical value of 0.5 were then selected according to the observed ciphertext responses. In the second stage, eight previously unqueried neighboring positions around the selected location were evaluated, making the second query set explicitly dependent on the first-stage responses.
The largest first-stage deviation was observed for the all-black/first-LSB case, with a bit-change ratio of 0.501505 (z = 2.179). The eight adaptively selected follow-up queries produced a mean bit-change ratio of 0.500092, a mean NPCR of 99.6120%, and a mean UACI of 33.5423%. The individual follow-up bit-ratio z-values ranged from −0.655 to 1.643, and the initially selected deviation did not persist in the response-dependent follow-up queries.
Taken together, the same-session known-plaintext transfer analysis, the qualitative homogeneous-plaintext assessment, the structured single-bit differential analysis, and the response-dependent adaptive experiment provide complementary empirical evidence against the evaluated reusable plaintext–ciphertext relations and single-bit differential distinguishers. The results show no systematic differential behavior across the examined structured plaintext families, image formats, or tested perturbation locations under the evaluated configuration. Nevertheless, these experiments constitute empirical cryptanalytic evaluations rather than a formal proof of chosen-plaintext security. More general adaptive strategies, multi-bit and higher-order differentials, truncated or impossible differentials, and key-recovery attacks remain outside the scope of the present analysis.
4.10. Ablation Study
A cumulative ablation study was conducted on all 11 RGB test images to determine the functional contribution of each transformation stage to the statistical and differential behavior of the proposed encryption architecture. The evaluation includes seven general-purpose images and four medical images, namely Brain, Breast, Chest, and Dental. This design enables the stage-wise behavior to be examined both over the complete dataset and specifically within the medical-image subset. Table 25 presents the mean information entropy, horizontal, vertical, and diagonal adjacent-pixel correlations, together with the NPCR and UACI values obtained under a one-bit plaintext modification for both evaluation sets. The stages were applied cumulatively so that the incremental contribution of each component to the overall pipeline could be observed.
Table 25.
Stage-wise ablation results averaged over the complete dataset and the medical-image subset.
The plain images exhibit mean entropy values of 6.3773 for the complete dataset and 5.0481 for the medical subset, with adjacent-pixel correlations above 0.87 in all three directions. The Gray-code transformation leaves entropy unchanged, as expected for a bijective re-encoding, but reduces the horizontal, vertical, and diagonal correlations to 0.7824, 0.7836, and 0.7254 for the complete dataset. Its role is therefore that of a reversible preprocessing layer that reorganizes the bit-level structure before bit-plane permutation, rather than an independent diffusion mechanism. In a controlled comparison in which only the Gray-code stage was replaced by the conventional binary representation, with the same session secret, public salt, schedule context, and all other parameters unchanged, both configurations produced final ciphertexts with entropy of approximately 7.997, near-zero correlations, and NPCR/UACI values close to their reference levels. The Gray-coded configuration, however, yielded lower residual adjacent-pixel correlations for several medical images. Gray coding is therefore retained as a modest structural contribution rather than as a principal source of security.
Bit-plane permutation primarily disrupts spatial organization. It reduces the vertical and diagonal correlations to 0.0452 and 0.0484 for the complete dataset, whereas the horizontal correlation remains at 0.7994 and entropy increases only to 6.8654. Position-dependent dynamic DNA mixing subsequently raises entropy to 7.9972 for both evaluation sets and reduces all three correlations below 0.011 in absolute value. Neither stage, however, produces differential propagation: NPCR and UACI remain at their baseline levels, confirming that high entropy and low correlation alone do not imply plaintext sensitivity.
The forward SPARKLE256 duplex introduces the principal differential propagation, raising NPCR and UACI to 99.6100% and 33.4657% for the complete dataset and to 99.6183% and 33.5024% for the medical subset, while preserving near-maximal entropy and near-zero correlations. The inter-pass mask and the backward duplex do not act as independent sources of statistical randomization; they preserve these characteristics while completing the bidirectional diffusion structure. The full algorithm yields NPCR and UACI values of 99.6115% and 33.4546% for the complete dataset and 99.6065% and 33.4517% for the medical subset.
Overall, the stages make distinct and complementary contributions: permutation provides spatial scrambling, dynamic DNA mixing provides value-domain randomization, and duplex diffusion provides differential propagation. The same stage-dependent trends are observed within the medical-image subset.
4.11. Computational Complexity and Encryption Speed
To evaluate the computational cost of the proposed algorithm, theoretical time and space complexity were examined together with experimental CPU execution times. Let M = CHW denote the total number of processed image samples, where C is the number of channels, H × W is the spatial image size, and B = 8 is the fixed number of bit planes. The Gray-code transformation, dynamic DNA mixing, and forward/backward ARX diffusion stages each process the image sequence linearly and therefore require O(M) time. Bit-plane decomposition and trajectory-based permutation require O(BM) time; however, because B = 8 is fixed, this term asymptotically reduces to O(M). In the full configuration, the fractional-order Chen system generates L = 6M chaotic bytes. When the Grünwald–Letnikov short-memory window length is denoted by D, chaotic-stream generation requires O(LD) = O(MD) time. Accordingly, the complete encryption procedure has a general time complexity of O(MD) and a space complexity of O(M + L + D). Under the fixed short-memory configuration used in the experiments, D is treated as an implementation parameter independent of image size, so both the computational and memory requirements scale approximately linearly with image size. Table 26 presents the theoretical complexity of each principal stage together with the corresponding pure-Python and optimized CPU execution times.
Table 26.
Theoretical complexity and stage-wise CPU execution cost of the proposed encryption algorithm.
The fractional-order formulation is intrinsically more expensive than an integer-order recurrence because each Grünwald–Letnikov update accumulates weighted contributions from the Lmem most recent states. The optimization described below therefore does not alter this formulation but executes it more efficiently.
Stage-wise profiling was performed using the 256 × 256 RGB Lena image on an AMD Ryzen 9 7950X3D 16-core processor. Two implementation configurations were compared. In the pure-Python baseline, fractional-order Chen generation, bit-plane permutation, and dynamic DNA processing were executed using direct Python-based implementations. The optimized configuration employed Numba-compiled execution for fractional-order Chen keystream generation and NumPy-based vectorized execution for bit-plane permutation and dynamic DNA processing. For each configuration, one warm-up run was performed, followed by three complete encryption/decryption runs, and the median execution time was reported. Table 26 presents the execution time of each encryption stage and the corresponding speedup under these two implementations.
The pure-Python results in Table 26 show that the computational cost of the algorithm is highly concentrated in the fractional-order chaotic generator. Complete encryption requires 100,722.174 ms, of which 96,723.822 ms is spent on fractional-order Chen keystream generation. In comparison, bit-plane decomposition and permutation require 2448.768 ms, dynamic DNA value mixing requires 1177.266 ms, Gray-code transformation requires 116.793 ms, forward SPARKLE256 duplex requires 128.214 ms, and backward SPARKLE256 duplex requires 127.311 ms. These measurements identify the iterative evaluation of the fractional-order chaotic trajectory as the dominant computational bottleneck, whereas the remaining image-transformation and bidirectional diffusion stages contribute substantially smaller execution costs.
Under the optimized implementation, the execution cost is reduced substantially across the computationally intensive stages. The Numba-compiled fractional-order Chen generation time decreases from 96,723.822 ms to 935.052 ms, corresponding to a speedup of approximately 103.44×. Bit-plane decomposition and permutation decrease from 2448.768 ms to 22.209 ms, yielding an approximately 110.26× speedup, while dynamic DNA mixing decreases from 1177.266 ms to 66.336 ms, corresponding to approximately 17.75× acceleration. The forward and backward SPARKLE256 duplex stages require 126.834 ms and 125.394 ms, respectively, and therefore remain close to their pure-Python execution times. Overall, the complete encryption time decreases from 100,722.174 ms to 1356.327 ms, corresponding to an overall speedup of approximately 74.26×.
Despite this acceleration, the fractional-order Chen generator still accounts for about 68.9% of the optimized encryption time. The complete 256 × 256 RGB encryption time is reduced from approximately 100.7 s to 1.36 s.
In addition to stage-wise profiling, the behavior of the optimized implementation under increasing image sizes was also evaluated. Resolution scalability was examined across all 11 test images, including the Brain, Breast, Chest, and Dental medical images. The experiments were conducted in both grayscale and RGB modes at resolutions of 256 × 256, 512 × 512, 1024 × 1024, and 2048 × 2048. For each test, one warm-up run was followed by three complete encryption/decryption executions, and the median time was reported. In these experiments, the optimized backend employed Numba for fractional-order Chen generation and NumPy-based execution for permutation and DNA processing. Spatial throughput and processed-sample throughput were evaluated separately because a grayscale spatial pixel contains one 8-bit sample, whereas an RGB spatial pixel contains three separate channel samples. Table 27 presents the mean execution-time and throughput results obtained across all 11 images.
Table 27.
Mean resolution scalability of the optimized implementation across all 11 test images.
According to Table 27, the mean grayscale encryption time is 0.4426 s at 256 × 256 resolution and increases to approximately 1.7778 s, 7.1339 s, and 28.3945 s at 512 × 512, 1024 × 1024, and 2048 × 2048, respectively. For RGB images, the corresponding mean execution times are 1.3589 s, 5.4223 s, 21.6719 s, and 87.1797 s. Taking the 256 × 256 case as the 1.00× reference, the grayscale encryption times increase by approximately 1.00×, 4.02×, 16.12×, and 64.15×, whereas the RGB times increase by 1.00×, 3.99×, 15.95×, and 64.16×. Because doubling both spatial dimensions increases the total number of pixels by a factor of four, these measured growth factors remain close to the ideal linear progression of 1×, 4×, 16×, and 64×. This observation is consistent with the approximately O(M) scaling predicted by the complexity analysis when D is fixed.
The throughput results further support this scaling behavior. For grayscale encryption, the spatial throughput remains approximately between 0.1470 and 0.1481 MPix/s across the evaluated resolution range, whereas the RGB spatial throughput remains close to 0.048 MPix/s. The processed-sample throughput for RGB images remains within approximately 0.1443–0.1452 MB/s. Thus, although the number of spatial pixels increases by a factor of 64 from 256 × 256 to 2048 × 2048, throughput remains within a relatively narrow range. This indicates that execution time increases approximately in proportion to image size and that the system does not exhibit an abrupt performance collapse at higher resolutions. Moreover, the same behavior is observed across both general-purpose and medical images, supporting the conclusion that the measured scalability profile is not specific to a particular image content.
Nevertheless, absolute execution speed and asymptotic scalability should be considered separately. For standard and relatively small image sizes, the measured execution times remain compatible with latency-tolerant image-transfer scenarios. In particular, 256 × 256 grayscale and RGB images are encrypted in approximately 0.443 s and 1.359 s, respectively, indicating that the current CPU implementation remains applicable to image-based scenarios that do not require sustained high-frame-rate processing. As the image resolution increases, however, the computational cost becomes more restrictive; for example, the mean encryption time reaches approximately 87.2 s for 2048 × 2048 RGB images. Accordingly, the present implementation demonstrates feasibility for standard-resolution image encryption, whereas applications involving sustained high-frame-rate processing, such as real-time video encryption, or large high-resolution RGB workloads would require further acceleration. For such more demanding scenarios, further throughput improvements may be achieved through parallelization of the fractional-order computations, additional optimization of data-processing and memory-access operations, and GPU- or FPGA-based acceleration.
5. Conclusions
This study developed an encryption-instance-specific framework for protecting medical images through a coordinated combination of cryptographic key scheduling, fractional-order hyperchaos, adaptive permutation, position-dependent dynamic DNA transformation, and SPARKLE256-based two-pass ARX-duplex diffusion. A confidential 256-bit session secret generated independently by a CSPRNG is processed with canonically encoded NOAA/SWPC data through an HMAC-SHA-512-based HKDF. The session secret provides the cryptographic entropy, while the publicly accessible NOAA/SWPC information is used only as reproducible temporal context. Domain-separated derivations control the fractional-order modified Chen system, bit-plane trajectory selectors, DNA base-rule selectors, and independently derived forward and backward SPARKLE256 duplex seeds. This organization avoids deriving secret material from the plaintext and prevents the reuse of undifferentiated key material across functionally distinct stages of the cipher.
The dynamical analyses established a numerically validated operating region for the key-controlled fractional-order generator. Boundedness, Lyapunov-spectrum, modified 0–1, NIST SP 800-22, and Dieharder evaluations consistently supported stable hyperchaotic operation and did not reveal broad or persistent statistical anomalies under the tested configurations.
The image-level experiments showed that the encrypted outputs exhibit near-maximal entropy, low adjacent-pixel correlation, and differential responses close to the expected reference levels for 8-bit image encryption. The ablation study further confirmed that the individual transformation stages make distinct and complementary contributions, while implementation-level optimization substantially reduced the computational cost. Despite this improvement, the fractional-order Chen generator remains the principal computational bottleneck.
Several limitations should nevertheless be acknowledged. The experimental evaluation was restricted to selected two-dimensional RGB and grayscale images and did not include complete three-dimensional CT or MR volumes, multi-frame DICOM studies, or clinical PACS workloads. The fractional-order generator was implemented using a numerically validated short-memory Grünwald–Letnikov approximation; consequently, its computational cost and scaling behavior remain important constraints for higher-resolution images and volumetric data. Performance was measured in a CPU-based workstation environment, and the method was not evaluated on embedded, mobile, or resource-constrained PACS clients. Furthermore, although the NOAA/SWPC information is intentionally treated as public context rather than secret entropy, the cryptographic authentication, integrity protection, and replay management of the public context and schedule metadata were outside the scope of this study. Finally, the security assessment is based primarily on dynamical, statistical, differential, robustness, and cryptanalytic experiments; a formal confidentiality proof and implementation-level timing, cache, and power side-channel analyses were not provided.
Future work will systematically address these limitations through further validation and implementation studies. The framework will first be extended to multi-frame DICOM data and complete three-dimensional CT and MR volumes, with explicit measurements of throughput, memory consumption, and reconstruction correctness at increasing spatial and volumetric resolutions. A major implementation objective will be to further reduce the computational burden through stage-specific optimization rather than relying on a single acceleration strategy for the complete pipeline. The fractional-order modified Chen generator, which currently constitutes the dominant computational cost, will be investigated using optimized recurrence evaluation, improved memory handling, compiled numerical kernels, and parallel or segmented execution strategies wherever the temporal dependencies of the short-memory formulation permit. The bit-plane permutation and dynamic DNA stages will be further optimized through SIMD/vectorized execution, cache-aware data layouts, multithreading, batched processing, and GPU-parallel kernels, while the SPARKLE256-based duplex stages will be examined for low-overhead parallel execution across independent blocks, images, or processing batches. Additional improvements will investigate pipeline parallelism, asynchronous execution, overlap of data transfer and computation, and heterogeneous CPU–GPU scheduling so that independent or weakly dependent stages can execute concurrently where possible. The objective is therefore to combine different optimization methods according to the computational characteristics of each stage and thereby reduce the overall encryption cost beyond that achieved by the current Numba- and NumPy-based implementation. FPGA-based and streaming implementations will also be investigated for sustained-throughput scenarios and deployment on PACS gateways and edge medical devices. The public schedule context will be strengthened through cryptographically authenticated metadata or a signed public context source, together with explicit nonce management, integrity protection, and replay-detection mechanisms. Finally, the encryption interface and adversarial model will be formalized to evaluate confidentiality under an IND-CPA-oriented framework, followed by an authenticated-encryption extension and systematic timing, cache, and power side-channel testing.
Author Contributions
Conceptualization, K.D.E. and N.D.; methodology, K.D.E.; software, K.D.E.; validation, K.D.E. and N.D.; formal analysis, K.D.E.; investigation, K.D.E.; resources, K.D.E.; data curation, K.D.E.; writing—original draft, K.D.E.; writing—review and editing, N.D. and K.D.E.; visualization, K.D.E.; supervision, N.D.; project administration, N.D. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by Selcuk University Scientific Research Projects Coordination Office (BAP), grant number 26601151.
Data Availability Statement
The Medical Imaging (CT-Xray) Colorization dataset employed in this study’s experimental evaluation is openly accessible via Kaggle (https://www.kaggle.com/datasets/shuvokumarbasak2030/medical-imaging-ct-xray-colorization-new-dataset, accessed on 1 May 2026). Additional test images used for evaluation purposes were obtained from publicly available standard benchmark image sets.
Acknowledgments
The present study was carried out as part of the doctoral research being conducted by Kaan Doğan Erdoğan in the Computer Engineering program at Selcuk University, supervised by Nurettin Doğan.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Singh, P.; Devi, K.J.; Nizami, T.K.; Prakash, C.S.; Thakkar, H.K.; Hussain, S.A.; Mallik, S. Ensuring Integrity and Security of Medical Image Transmission in IoMT Using Highly Imperceptible and Robust Watermarking Approach. Sci. Rep. 2025, 15, 26058. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mansour, A.H.; Aboelenin, S.; Eltoukhy, M.M.; Mohamed, H.I.; Elkomy, O.; Hosny, K.M. A New Medical Image Encryption Using Modular Integrated Logistic Exponential Map and Multi-Level Q-Sequence Matrix. Sci. Rep. 2025, 15, 31383. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Electronic Code of Federal Regulations Security Standards for the Protection of Electronic Protected Health Information. Available online: https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-164 (accessed on 26 September 2026).
- Mahalakshmi, K.; Nagarajan, S. Comprehensive Review and Analysis of Image Encryption Techniques. IEEE Access 2025, 13, 109783–109813. [Google Scholar] [CrossRef] [Scilit]
- Abdallah, E.E.; Hamza, A.B.; Bhattacharya, P. A Robust Block-Based Image Watermarking Scheme Using Fast Hadamard Transform and Singular Value Decomposition. In Proceedings of the 18th International Conference on Pattern Recognition (ICPR’06); IEEE: New York, NY, USA, 2006; Volume 3, pp. 673–676. [Google Scholar]
- Fridrich, J. Symmetric Ciphers Based on Two-Dimensional Chaotic Maps. Int. J. Bifurc. Chaos 1998, 08, 1259–1284. [Google Scholar] [CrossRef] [Scilit]
- Alexan, W.; Alexan, N.; Gabr, M. Multiple-Layer Image Encryption Utilizing Fractional-Order Chen Hyperchaotic Map and Cryptographically Secure PRNGs. Fractal Fract. 2023, 7, 287. [Google Scholar] [CrossRef] [Scilit]
- Li, T.; Yang, M.; Wu, J.; Jing, X. A Novel Image Encryption Algorithm Based on a Fractional-Order Hyperchaotic System and DNA Computing. Complexity 2017, 2017, 9010251. [Google Scholar] [CrossRef] [Scilit]
- Alexan, W.; Gabr, M.; Mamdouh, E.; Elias, R.; Aboshousha, A. Color Image Cryptosystem Based on Sine Chaotic Map, 4D Chen Hyperchaotic Map of Fractional-Order and Hybrid DNA Coding. IEEE Access 2023, 11, 54928–54956. [Google Scholar] [CrossRef] [Scilit]
- Clemente-López, D.; Munoz-Pacheco, J.M.; Rangel-Magdaleno, J.D.J. Experimental Validation of IoT Image Encryption Scheme Based on a 5-D Fractional Hyperchaotic System and Numba JIT Compiler. Internet Things 2024, 25, 101116. [Google Scholar] [CrossRef] [Scilit]
- Rahman, Z.-A.S.A.; Jasim, B.H.; Al-Yasir, Y.I.A.; Abd-Alhameed, R.A. Efficient Colour Image Encryption Algorithm Using a New Fractional-Order Memcapacitive Hyperchaotic System. Electronics 2022, 11, 1505. [Google Scholar] [CrossRef] [Scilit]
- Çelik, H.; Doğan, N. Enhancing Image Encryption through Fractional-Order Chaotic Systems: A Comparative Analysis of Six Diverse Models. Inf. Sci. 2026, 730, 122907. [Google Scholar] [CrossRef] [Scilit]
- Wen, H.; Lin, Y.; Kang, S.; Zhang, X.; Zou, K. Secure Image Encryption Algorithm Using Chaos-Based Block Permutation and Weighted Bit Planes Chain Diffusion. iScience 2024, 27, 108610. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhou, Y.; Cao, W.; Philip Chen, C.L. Image Encryption Using Binary Bitplane. Signal Process. 2014, 100, 197–207. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Zheng, S.; Yang, J. Image Encryption Scheme Based on 2D-ICCM and Bit-Planes Cross Permutation-Diffusion Using Parallel Computing. Comput. Electr. Eng. 2025, 127, 110569. [Google Scholar] [CrossRef] [Scilit]
- Zhou, S.; He, P.; Kasabov, N. A Dynamic DNA Color Image Encryption Method Based on SHA-512. Entropy 2020, 22, 1091. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chai, X.; Gan, Z.; Yang, K.; Chen, Y.; Liu, X. An Image Encryption Algorithm Based on the Memristive Hyperchaotic System, Cellular Automata and DNA Sequence Operations. Signal Process. Image Commun. 2017, 52, 6–19. [Google Scholar] [CrossRef] [Scilit]
- Afify, Y.M.; Sharkawy, N.H.; Gad, W.; Badr, N. A New Dynamic DNA-Coding Model for Gray-Scale Image Encryption. Complex Intell. Syst. 2024, 10, 745–761. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Tang, S.; Li, T.; Li, X.; Wang, C. GFRX: A New Lightweight Block Cipher for Resource-Constrained IoT Nodes. Electronics 2023, 12, 405. [Google Scholar] [CrossRef] [Scilit]
- Suzgen, E.E.; Sahin, M.E.; Ulutas, H. A Novel Hybrid Medical Image Encryption Scheme Based on Memristive Chaos and DNA-ARX-3DES with Real-Time Implementation. Sci. Rep. 2026, 16, 6230. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, C.; Lo, K.-T. Optimal Quantitative Cryptanalysis of Permutation-Only Multimedia Ciphers against Plaintext Attacks. Signal Process. 2011, 91, 949–954. [Google Scholar] [CrossRef] [Scilit]
- Barker, E.B.; Kelsey, J.M. Recommendation for Random Number Generation Using Deterministic Random Bit Generators; National Institute of Standards and Technology (NIST): Gaithersburg, MD, USA, 2015.
- Krawczyk, H.; Eronen, P. HMAC-Based Extract-and-Expand Key Derivation Function (HKDF); IETF: Wilmington, DE, USA, 2010. [Google Scholar]
- Chen, L. Recommendation for Key Derivation Using Pseudorandom Functions; Institute of Standards and Technology (NIST): Gaithersburg, MD, USA, 2024.
- Bitner, J.R.; Ehrlich, G.; Reingold, E.M. Efficient Generation of the Binary Reflected Gray Code and Its Applications. Commun. ACM 1976, 19, 517–521. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Pan, J.; Yan, Y.; Zhu, H.; Yuan, D. Combining Right-Angle Rotation with Gray Code Transformation to Encrypt MQIR Images. Phys. A Stat. Mech. Its Appl. 2023, 626, 129121. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Liu, Y.; Liu, M.; Niu, Y. Image Encryption Algorithm Based on Zigzag Transformation and Roulette Wheel Rotation Mechanism. J. King Saud Univ. Comput. Inf. Sci. 2025, 37, 239. [Google Scholar] [CrossRef] [Scilit]
- Chung, K.-L.; Huang, Y.-L.; Liu, Y.-W. Efficient Algorithms for Coding Hilbert Curve of Arbitrary-Sized Image and Application to Window Query. Inf. Sci. 2007, 177, 2130–2151. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Tang, W.K.S.; Chen, G. Generating Hyperchaos via State Feedback Control. Int. J. Bifurc. Chaos 2005, 15, 3367–3375. [Google Scholar] [CrossRef] [Scilit]
- Scherer, R.; Kalla, S.L.; Tang, Y.; Huang, J. The Grünwald–Letnikov Method for Fractional Differential Equations. Comput. Math. Appl. 2011, 62, 902–917. [Google Scholar] [CrossRef] [Scilit]
- Öğünmez, H.; Türkmen, M.R. Statistical Convergence for Grünwald–Letnikov Fractional Differences: Stability, Approximation, and Diagnostics in Fuzzy Normed Spaces. Axioms 2025, 14, 725. [Google Scholar] [CrossRef] [Scilit]
- Huang, L.; Ding, C.; Bao, Z.; Chen, H.; Wan, C. A DNA Encoding Image Encryption Algorithm Based on Chaos. Mathematics 2025, 13, 1330. [Google Scholar] [CrossRef] [Scilit]
- Ryan, C.; Kshirsagar, M.; Vaidya, G.; Cunningham, A.; Sivaraman, R. Design of a Cryptographically Secure Pseudo Random Number Generator with Grammatical Evolution. Sci. Rep. 2022, 12, 8602. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Almaraz Luengo, E.; Román Villaizán, J. Cryptographically Secured Pseudo-Random Number Generators: Analysis and Testing with NIST Statistical Test Suite. Mathematics 2023, 11, 4812. [Google Scholar] [CrossRef] [Scilit]
- Crown, M.D. Validation of the NOAA Space Weather Prediction Center’s Solar Flare Forecasting Look-up Table and Forecaster-issued Probabilities. Space Weather 2012, 10, e2025SW004546. [Google Scholar] [CrossRef] [Scilit]
- Joselyn, J.A. State of the Art in Space Weather Services and Forecasting. In Space Storms and Space Weather Hazards; Springer: Dordrecht, The Netherlands, 2001; pp. 419–436. [Google Scholar]
- Bala, R.; Reiff, P. Data Availability and Forecast Products for Space Weather. In Machine Learning Techniques for Space Weather; Elsevier: Amsterdam, The Netherlands, 2018; pp. 27–41. [Google Scholar]
- Foreman, C.; Yeung, R.; Curchod, F.J. Statistical Testing of Random Number Generators and Their Improvement Using Randomness Extraction. Entropy 2024, 26, 1053. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yousif, S.F.; Abboud, A.J.; Radhi, H.Y. Robust Image Encryption With Scanning Technology, the El-Gamal Algorithm and Chaos Theory. IEEE Access 2020, 8, 155184–155209. [Google Scholar] [CrossRef] [Scilit]
- Moya-Albor, E.; Romero-Arellano, A.; Brieva, J.; Gomez-Coronel, S.L. Color Image Encryption Algorithm Based on a Chaotic Model Using the Modular Discrete Derivative and Langton’s Ant. Mathematics 2023, 11, 2396. [Google Scholar] [CrossRef] [Scilit]
- Jun, W.J.; Fun, T.S. A New Image Encryption Algorithm Based on Single S-Box and Dynamic Encryption Step. IEEE Access 2021, 9, 120596–120612. [Google Scholar] [CrossRef] [Scilit]
- Alghamdi, Y.; Munir, A.; Ahmad, J. A Lightweight Image Encryption Algorithm Based on Chaotic Map and Random Substitution. Entropy 2022, 24, 1344. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Meng, F.; Gu, Z. A Color Image-Encryption Algorithm Using Extended DNA Coding and Zig-Zag Transform Based on a Fractional-Order Laser System. Fractal Fract. 2023, 7, 795. [Google Scholar] [CrossRef] [Scilit]
- Hosny, K.M.; Kamal, S.T.; Darwish, M.M. Novel Encryption for Color Images Using Fractional-Order Hyperchaotic System. J. Ambient Intell. Humaniz. Comput. 2022, 13, 973–988. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Es-Sabry, M.; El Akkad, N.; Merras, M.; Satori, K.; El-Shafai, W.; Altameem, T.; Fouda, M.M. Securing Images Using High Dimensional Chaotic Maps and DNA Encoding Techniques. IEEE Access 2023, 11, 100856–100878. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Dong, W.; Zhang, J.; Ding, Q. An Image Encryption Transmission Scheme Based on a Polynomial Chaotic Map. Entropy 2023, 25, 1005. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kaur, G.; Agarwal, R.; Patidar, V. Color Image Encryption Scheme Based on Fractional Hartley Transform and Chaotic Substitution–Permutation. Vis. Comput. 2022, 38, 1027–1050. [Google Scholar] [CrossRef] [Scilit]
- Zhang, F.; Wang, X. Color Image Encryption Based on LSS-Type Coupled Mapped Lattice. IEEE Access 2024, 12, 41413–41420. [Google Scholar] [CrossRef] [Scilit]
- Huang, Y.; Zhang, Q.; Zhao, Y. Color Image Encryption Algorithm Based on Hybrid Chaos and Layered Strategies. J. Inf. Secur. Appl. 2025, 89, 103921. [Google Scholar] [CrossRef] [Scilit]
- Huang, H.; Cai, Z. Duple Color Image Encryption System Based on 3-D Nonequilateral Arnold Transform for IIoT. IEEE Trans. Ind. Inform. 2023, 19, 8285–8294. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Sun, B.; Bi, X.; Yan, H.; Wang, L. A Novel Color Image Encryption Algorithm Based on Cross-Plane Scrambling and Diffusion. Mob. Netw. Appl. 2024, 29, 583–594. [Google Scholar] [CrossRef] [Scilit]
- Darani, A.Y.; Yengejeh, Y.K.; Pakmanesh, H.; Navarro, G. Image Encryption Algorithm Based on a New 3D Chaotic System Using Cellular Automata. Chaos Solitons Fractals 2024, 179, 114396. [Google Scholar] [CrossRef] [Scilit]
- Wang, M.; Wang, X.; Wang, C.; Zhou, S.; Xia, Z.; Li, Q. Color Image Encryption Based on 2D Enhanced Hyperchaotic Logistic-Sine Map and Two-Way Josephus Traversing. Digit. Signal Process. 2023, 132, 103818. [Google Scholar] [CrossRef] [Scilit]
- Meng, F.-Q.; Wu, G. A Color Image Encryption and Decryption Scheme Based on Extended DNA Coding and Fractional-Order 5D Hyper-Chaotic System. Expert Syst. Appl. 2024, 254, 124413. [Google Scholar] [CrossRef] [Scilit]
- Shafique, A.; Ahmed, J.; Rehman, M.U.; Hazzazi, M.M. Noise-Resistant Image Encryption Scheme for Medical Images in the Chaos and Wavelet Domain. IEEE Access 2021, 9, 59108–59130. [Google Scholar] [CrossRef] [Scilit]
- Li, C.; Li, S.; Lo, K.-T. Breaking a Modified Substitution–Diffusion Image Cipher Based on Chaotic Standard and Logistic Maps. Commun. Nonlinear Sci. Numer. Simul. 2011, 16, 837–843. [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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.















