论文信息

Saja Jumaa Hammad / Ali Mahmood Khalaf

Iraqi Journal for Computers and Informatics

论文解读

AI 辅助整理
方法
动态S盒与RC4流密码结合,XOR与非线性替换,Python测试。
发现
加密图像直方图均匀,熵接近8,相关系数近零,抗差分攻击强。
机会点
可探索将加密技术应用于农业遥感数据的安全传输,结合轻量级算法适应资源受限的农业物联网设备。

论文摘要

在本研究中,我们提出了一种新颖的高级卫星图像加密与解密方案,该方案采用动态生成的替换盒(S-box)矩阵,并与RC4流密码算法相结合。卫星图像数据通常庞大且相邻像素间存在强烈的空间相关性,这对传统加密技术构成了挑战,而传统方法在许多情况下无法提供高水平的安全性。为缓解这些问题,所开发的方法将利用基于密钥的动态S-box,从而增强系统的非线性及混淆强度。为实现图像数据的充分扩散,采用RC4算法生成伪随机密钥流。在加密过程中,像素值首先与密钥流进行异或(XOR)运算,随后通过动态S-box进行非线性替换。解密过程则逆转这些步骤,使用逆S-box并复用密钥流,从而确保原始图像的无损精确重建。该框架的安全性能通过在Google Collaboratory环境中使用Python进行的全面实验测试得到验证。我们考察了直方图均匀性、信息熵、相邻像素相关系数(水平、垂直及对角线方向)以及差分攻击指标(NPCR和UACI)等度量。结果表明,加密图像具有高度均匀的直方图分布,熵值接近理论最大值8,相关系数几乎趋近于零。此外,该方案对差分密码分析具有高度抵抗力,NPCR值超过99%,UACI值接近33%。因此,所开发方法在结合高安全性与合理计算效率方面表现有效,使其适用于遥感过程中卫星图像的安全存储与传输。

全文

Iraqi Journal for Computers and Informatics

119

Iraqi Journal for Computers and Informatics
Available online: https://ijci.uoitc.edu.iq/index.php/ijci
Volume 52, issue 2. 2026
Print ISSN: 2313-190X, Online ISSN: 2520-4912

An Approach to Encrypt and Decrypt Satellite Images Based on S-
box Matrix and RC4
Saja Jumaa Hammad a , Ali Mahmood Khalaf b
a Department of Immediate Ambulance, Al Dour Technical Institute 2, Northern Technical University, Salah Al-Din, Al Dour,
IRAQ.

b Assistant Lecturer,Department of Computer, College of Education for Pure Science, Tikrit University, Salah Al -Din, Tikrit,
IRAQ.

A R1T I C L E I N F O A B S T R A C T

  1. INTRODUCTION
    Electronic data transfer across the open communication networks has sharpened over the last few years and includes a wide
    variety of formats of data, including text, images, audio, and videos that are conqueringly disseminated through the Internet and
    multimedia systems. This spread is what requires an increased focus on the security and confidentiality of the data sent, as the
    violations do not only violate the privacy of users but also undermine the integrity of data and damage the reputations of
    companies [1]. In order to reduce all these risks, separate protective systems are wisely implemented with different types of data,
    and the encryption became one of the most effective systems against the presence of unauthorized people, protecting the integrity

E-mail address: Corresponding* : Saja Jumaa Hammad
Emai1@ uoitc.edu.iq. a
Emai2@il.edu b
Emai3@gmail.comc Received 13 March 2026, Accepted 26 June 2026

   DOI: 10.25195/ijci.v52i2760.                            

In this work we propose a new advanced scheme of the encryption and decryption of the satellite
images using a dynamically generated substitution box (S -box) matrix integrated with the RC4
stream cipher. The satellite images whose data is usually huge and contains strong spatial correlations
among adjacent pixels are challenging to conventional encryption techniques that do not, in many
cases, provide a high level of security. To reduce such problems, the developed method will use a
dynamic S-box based on a secret key, which will increase the nonlinearity and the strength of the
system in confusion. To achieve adequate diffusion of the image data, the RC4 algorithm is used to
produce a p seudo-random keystream. In the encryption process, pixel values are initially operated
on by an XOR operation with the keystream, and then operated on by a nonlinear substitution via the
dynamic S -box. These steps are reversed in the decryption process, w hich uses the inverse S -box,
and reusing the key stream, which would guarantee the exact reproduction of the original image,
without the loss of information. The security performance of the framework was tested using
comprehensive experimental tests in Py thon in the Google Collaboratory environment. We looked
at such metrics as uniformity of histograms, entropy of information, adjacent -pixel correlation
coefficients (horizontal, vertical, and diagonal), and indicators of differential attacks (NPCR and
UACI). The findings reveal that the encrypted images have a very uniform distribution of histograms,
the entropy measures are also near to the theoretical maximum of 8 and the correlation coefficients
are virtually near to zero. Moreover, the scheme is highly resistant to the differential cryptanalysis
with NPCR values of over 99% and UACI values of nearly 33%. Therefore, the developed method
is effective in terms of the ability to unite high security and sensible calculation, making it an secure
storage and transmission of satellite imagery during remote sensing processes.

Keywords:
RC4 algorithm
dynamic S-box
encryption key
key repertoire
cryptographic strength
variable key size
symmetric encryption.

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

120

of online communications. Cryptography takes a strategic position in the protection of data transfer across a network that is
insecure by nature. It constitutes a compendious examination and execution of methods that are designed to enable secure
communication in settings that are prone to probable risks and subsequently meet fundamental security needs of authentication,
encryption, as well as key management. In theory, cryptographic systems process data in two major forms plaintext which is the
original, intelligible data, and ciphertext which is the distorted, incoherent form [2]. The encryption algorithm uses a secret key
to convert plaintext into ciphertext and in the decryption process, converting the ciphertext back into plaintext, enabling t he
authorized parties to get the original content [3]. Multiple countless cryptographic algorithms have been developed over the
decades to enhance the security of data and eliminate an array of cyber threats. The contemporary cryptographic practices can
be broadly categorized as either symmetric-key or asymmetric-key. Asymmetric encryption, which is sometimes called public -
key cryptography, uses a key pair of which one key is the public encryption key and the other is the private decryption key [ 4].
On the other hand , symmetric encryption makes use of one common key in both processes. Symmetric schemes in particular
make it particularly attractive due to their computational expediency and relative simplicity, making it particularly attract ive to
processes that require fast data processing [5, 6] such as processing of large amounts of multimedia information, including
images and videos. Images represent one of the most heterogeneous sets of digital data that deserve a special focus because o f
their great size, high redundancy, and high pixel-to-pixel correlations. Image encryption aims at changing the initial visual data
to visual and statistically incomprehensible forms, thus inhibiting illegal access or interpretation. Such applications are, in
accordance, widely used in many branches of activity: military communications, medical imaging, telemedicine, remote sensing,
as well as Internet-based multimedia services.
Satellite Imagery is an invaluable resource in a broad range of down -to-earth uses, including military surveillance, border and
infrastructure surveillance, environmental studies, commercial imaging, telecommunications planning, as well as exploration o f
resources [7]. In the case of the military, this type of imagery is essential to reconnaissance and real time tracking of the
movements of an adversary. Governments depend on it to make effective urban planning and responding to disaster, and the
environmental scientists invest it to observe the process of deforestation and to face the challenge of climate change [8]. Further,
business corporations, including satellite imaging companies to resource extraction companies, utilize this technology to
maintain competitive edge and protect company secrets.
Satellite imagery is still an important tool in infrastructural planning in the telecommunications sector especially when it comes
to remote locations [9]. With the increased sensitivity of this data encryption is essential to prevent unauthorized ingress as well
as maintain the integrity of the data, national security, safeguard business assets and adhere to the privacy regulations [10 ].
Encryption thus becomes an important part in preserving confidentiality of the strategic, scientific and business inform ation
coded in these images so that they can be put in proper care [11].
The cryptographic environment provides a collection of mechanisms that are geared towards providing protection to digital files
and images, some of which are long -established like the Advanced Encryption Standard (AES), RSA algorithm, and stream -
cipher-based techniques [12]. The RC4 algorithm has received attention in this spectrum because of its simplicity as well as high
throughput in encr yption and decryption as it is faster than some of the traditional algorithms. RC4 is used to produce a
pseudorandom stream of key, which is combined with plaintext using XOR, which makes it particularly useful when computation
cost is an important conside ration. Nevertheless, using RC4 as an image encryption method can be inadequate to deal with the
inherent statistical characteristics of image data since it is only slightly nonlinear. To overcome this drawback, the curren t
literature tends to emphasize th e improvement of stream cipher -based image encryption using additional nonlinear elements
including substitution boxes (S -boxes). These S-boxes enhance encryption by adding confusion by using nonlinear substitutions
at the level of the byte, significantly enhancing the ability to resist a statistical examination and cryptanalytic assaults. S -boxes
that are dynamic and depend on the key, in particular, have been found to be extremely useful in enhancing security performance
by increasing the levels of entr opy, decreasing pixel correlation, and increasing sensitivity to key variation. It is based on these
developments, and the current study suggests a safe satellite image encryption algorithm which combines the RC4 stream cipher
with an adaptable S-box matrix. The suggested approach attempts to combine the computational efficiency of RC4 with the extra
security provided by S -box nonlinearity, and thus, it provides efficient confusion and diffusion during the encryption process.
In-depth analyses, including st atistical analysis, correlation analysis, entropy analysis, and various measures of differential
attacks like NPCR and UACI are conducted to assess performance of the approach. The findings support the effectiveness and
the robustness of this solution to protect the storage and transfer of satellite images against future enemy interception.
2. LITERATURE REVIEW
Researchers in the study [13] suggested an encryption technique that refers to a two -dimensional chaotic filter with the Fisher -
Yates shuffling algorithm. The scheme was able to increase randomness and sensitivity to key variations by using chaotic
sequences to control both permutation and diffusion processes. The algorithm was effective to reduce correlation between
adjacent pixels and produce a uniformly distributed histogram all over. Experimental evidence has also shown that the entropy
values are close to 8 with a strong resilience to statistical and differential attacks. In [14] authors incorporated chaotic systems
with selective or full AES rounds to increase the encryption strength. The structural values of the algorithm were affected b y
dynamic chao tic sequences, which contributed to the increase in the amount of unpredictability and key sensitivity. The

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

121

combination strategy enhanced resistance against brute force and statistical attacks leading to high entropy values and
significantly smaller correlation coefficients. In another contribution, as described in [15], there was an introduction of a hybrid
chaotic framework that uses logistic and cosine transformed chaotic maps as pseudo-random key generation. The scrappy results
were beneficial during the permutation and diffusion steps, thus maximizing randomness. The approach, therefore, increased the
key space and increased sensitivity to initial conditions. Security tests indicated that pixel correlation was close to zero, NPCR
was more than 99 -percent, and the UACI was around 33 -percent. The research in [16] was dedicated to the design of a chaos -
based blo ck cipher with multispectral satellite image -specific purposes. It has found a good compromise between security
strength and embedded hardware compatibility. The mechanism achieved greater diffusion and confusion by incorporating
chaotic key streams into b lock encryption. The empirical findings verified good statistical security properties and at the same
time showed realistic hardware performances. The RNA encoding techniques were proposed to be combined with a seven -
dimensional chaotic system in [17]. Thi s chaotic high -dimensional generator created very random sequences which were so
sensitive to initial conditions and RNA operations added non lineal diffusion to the encryption. The resulting scheme had almost
the best entropy values, lowest correlation, and admirable NPCR and UACI values.
The article presented in [18] examined a multi -layer encryption scheme that involved the hyperchaotic system, singular value
decomposition (SVD), RC5 encryption, and the construction of dynamical S -box. This end-to-end model used linear-algebraic
transformations along with hyperchaotic diffusion to maximize confusion. Nonlinearity and anti -cryptanalysis were further
advanced through the dynamically built S -box. Entropy scores were near optimal, and the values of pixel correlation were small
and NPCR and UACI scores are high to indicate a strong sense of security.
The paper [19] presented a high-dimensional hyperchaotic encryption scheme featuring dynamic substitution mechanisms. By
employing complex chaotic dynamics, it generated random and secure key streams while eliminating spatial redundancy through
nonlinear diffusion and p ermutation. Experiments confirmed entropy values close to 8, correlation coefficients near zero, and
strong resilience against differential and statistical attacks.
In [20] presented an algorithm utilizing Elliptic Curve Cryptography coupled with Diffie -Hellman for the encryption and
decryption of satellite images. The authors have split the image into pixel intensity for ECC and have applied the multiplica tion
scalar to each point. JPG images were used for testing and the size could be changed with the maximum being 256x256. The
decryption algorithm was able to accurately recover the plain image. The encryption and decryption times for each satellite image
were also recorded.
In [21] proposed chaotic isomorphic elliptic curve scheme achieved information entropy ≈ 7.99 , indicating near -ideal
randomness. The NPCR reached about 99.6% and UACI ≈ 33%, showing strong resistance to differential attacks. Correlation
coefficients between adjacent pixels were reduced to values close to 0.001 or lower. The system also provided a large key space
(> 2²⁵⁶), ensuring high security against brute-force attacks.
In [22] proposed a hybrid chaotic Blowfish encryption scheme for high -resolution satellite imagery. The results demonstrated
high security performance, achieving information entropy of approximately 7.998, NPCR around 99.6%, and UACI close to
33%, indicating strong resistance against statistical and differential attacks. The correlation coefficients between adjacent pixels
were reduced to values near 0.002, while the key space exceeded 2⁴⁴⁸, providing strong protection against brute -force attacks
with efficient processing time for large images.
2.1 Cryptography
Cryptography originates from the Greek words "kryptos" and "gráphō ", meaning "hidden writing". It is a scientific discipline
concerned with ensuring that a message sent by one party can be securely delivered to its intended recipient. Cryptography
adheres to several key requirements for secure transactions, including: (1 ) Ensuring confidentiality through encryption
(encoding); (2) Maintaining data integrity via a one -way hash function; (3) Verifying the identity and authenticity of parties
involved in transactions using passwords or digital certificates. Additionally, transaction data authenticity is guaranteed through
the use of digital signatures; (4) Establishing non -repudiation, which prevents the denial of a transaction’s occurrence, by
leveraging digital signatures and digital certificates [23].

  • Plain text refers to the original message intended for communication. In cryptography, it is the unaltered, readable message that
    is meant to be sent to the recipient.
  • Cipher text is a scrambled or unintelligible version of the message. In cryptography, this initial readable message (plain te xt)
    is converted into an unreadable format before being transmitted.
  • Ciphers work by encrypting individual letters or groups of letters as a single unit, regardless of their context or meaning.
  • Codes, on the other hand, operate by substituting entire words or phrases in a fixed manner, typically without the use of key s.

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

122

  • Encryption is the process of converting plain text into cipher text. Cryptography utilizes encryption to securely transmit
    sensitive messages across unsecured channels. This transformation takes place on the sender’s side.
  • Decryption, the inverse of encryption, converts cipher text back into plain text. Cryptography applies decryption on the
    receiver’s end to retrieve the original message from its scrambled format. Decryption requires both a decryption algorithm an d
    a key, where the algorithm dictates the process used for deciphering. Typically, encryption and decryption algorithms are closely
    related.
  • A key is a vital component in cryptography, consisting of numeric, alphanumeric, or special characters. It is used in the
    encryption of plain text and the decryption of cipher text. The security provided by an encryption algorithm heavily depends on
    the choice and strength of the key [3].
    2.2 Satellite imagery
    Satellite imagery consists of digital images capturing the Earth's surface through sensors installed on artificial satellites in orbit.
    Using remote sensing technologies, these sensors detect and measure electromagnetic radiation reflected or emitted by the Earth's
    surface across different spectral bands. The collected data is then processed into visual and numerical formats, offering detailed
    spatial, spectral, and temporal insights into both natural and man -made features. This imagery is essential for a wide range of
    applications in science, environmental studies, military operations, and commerce. It supports activities such as land -use
    monitoring, analyzing climate change, managing disasters, planning urban areas, assessing agriculture, and ensuring national
    security.
    Satellite images are distinguished by the following key characteristics:
    • Spatial Resolution:
    The size of the smallest object that can be detected in an image, defined by the ground area represented by a single
    pixel.
    • Spectral Resolution:
    The number and width of wavelength bands captured by the sensor, which allows differentiation between materials such
    as water, vegetation, and soil.
    • Temporal Resolution:
    The frequency at which a satellite revisits and captures images of the same location over time.
    • Radiometric Resolution:
    The ability of the sensor to distinguish small differences in reflected or emitted energy levels.
    • Geometric Accuracy:
    The degree to which the image corresponds to real-world geographic positions and distances.
    • Multi-spectral Nature:
    Many satellite images are captured in multiple spectral bands (visible, infrared, thermal), enabling advanced analysis.
    • Large Coverage Area:
    A single satellite image can cover hundreds to thousands of square kilometers.
    2.3 RC4 Algorithm
    RC4 (also known as the Rivest Cipher 4) was designed by Ron Rivest in 1987 [24]. This algorithm is hailed as easy and fast
    with ease with which it can produce a pseudorandom number sequence making it suitable to both software and hardware
    implementation. C ryptographic use RC4 has been commonly used in cryptographic application such as WEP, Skype, WPA,
    SSL/TLS, and numerous internet protocols where it is used to protect data, provide confidentiality and enhance security in
    communication. In the beginning of the algorithm, there is an allocation of a 256 -byte array (herein referred to as the state array)
    whose initialisation is done by a variable key length of between 0 and 255 bytes. To increase the level of security, a key with a
    128-byte length is suggested to be used with RC4 [2]. Key -Scheduling Algorithm (KSA) is used in order to initialize the RC4
    key and the step-by-step steps in the process of RC4 stream cipher is outlined in Algorithm 1 [25].
    RC4 Algorithm
    Input : K[𝑘1, 𝑘2, … . , 𝑘𝐿]
    Output :𝐾𝑠𝑒𝑞

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

123

  1. Initialize :
  2. For i=0:255
  3. 𝑆[𝑖] = 𝑖
  4. KSA Scrambling
  5. 𝑗 = 0
  6. For 𝑖 = 0: 255
  7. 𝑗 = (𝑗 + 𝑆[𝑖] + 𝐾[𝑖 𝑚𝑜𝑑 𝐿] 𝑚𝑜𝑑255)
  8. Swap (𝑆[𝑖], 𝑆[𝑗])
  9. End for
  10. PRNG for RC4
  11. 𝑗 = 0
  12. 𝑖 = 0
  13. While not end of seq Do
  14. 𝑖 = (𝑖 + 1)𝑚𝑜𝑑 256
  15. 𝑗 = (𝑗 + 𝑆[𝑖])𝑚𝑜𝑑256
  16. Swap 𝑆[𝑖] 𝑤𝑖𝑡ℎ 𝑆[𝑗]
  17. 𝐾𝑠𝑒𝑞 = 𝑆[𝑆[𝑖] + 𝑆[𝑗] 𝑚𝑜𝑑 256]
  18. End While
  19. Return 𝐾𝑠𝑒𝑞

Figure 1 : RC4 Algorithm

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

124

  1. METHODOLOGY
    This section outlines the entire methodology followed in the development, deployment and testing of the satellite image
    encryption and decryption system, whereby a dynamic S -box matrix is combined with the RC4 stream cipher. The pipeline is
    divided into se parate stages namely image preparation, key generation, dynamic S -box building, RC4 keystream building,
    encryption and decryption, and performance evaluation.
    Image Preparation
    In order to critically evaluate the set of the proposed encryption scheme in a controlled experimental environment, a synthesized
    8-bit grayscale test image, based on the satellite imagery, was created. It is an image that is a careful reproduction of real remote-
    sensing information by incorporating several layers of texture, which depict terrestrial landscapes, waterways, vegetative zones,
    and architectural constructions, thus maintaining the high levels of spatial correlations and redundancies of real satellite imagery.
    The resulting data, which is limited to the pixel intensity values between 0 and 255, is a strong baseline of further compara tive
    evaluations.
    Secret Key Generation
    Based on the established cryptographic principles, an alpha -numeric value was chosen as the major secret key, and thus, it
    worked as the key security element of the scheme. This key remained constant in all cryptography processes, both in the dynamic
    creation of S -boxes and the RC4 key stream. The protocol used a high level of key sensitivity by providing a high level of
    sensitivity to any minor perturbation to the key resulting in completely different S -box configurations and keystream sequences.
    Dynamic S-box Construction
    To enhance the aspect of confusion in the encryption scheme, a dynamic substitution box (S -box ) was achieved through the
    secret key. The key was then converted into numerical seed which in effect started a pseudo -random permutation mechanism.
    This procedure created bijective mapping on the full range of bytes of {0,... 255} thus resulting in an S -box where each input
    byte uniquely corresponds to an output byte. At the same time, an inverse -S-box was created so that it would help recover the
    message accurately upon decryption. In contrast to traditional, non -dynamically constructed S -boxes, the dynamism of this
    design makes the substitution function a function of the secret key, and hence provides a significant increase in resistance to
    cryptanalytic attacks. To provide a clearer understanding of the generation mechanism, the secret key is converted into a
    numerical seed value that initializes the pseudo -random generation process. This initialization results in a one -to-one mapping
    of all possible byte values, which is used to form the dynamic S -box matrix. The constructed S -box is subsequently applied
    during the substitution phase to strengthen confusion properties and enhance randomness in the encrypted image. As the
    generated values are derived from the secret key, the substitution process gains a dynamic quality, making it more robust against
    cryptanalytic attacks.
    RC4 Keystream Generation
    The RC4 stream cipher was used in the current research to create a pseudo -random keystream that had exactly the right length,
    as the number of pixels in the image. Its algorithm operates in two phases; the Key Scheduling Algorithm (KSA) that prepares
    and mixes an internal state array based on the secret key and the Pseudo -Random Generation Algorithm (PRGA) that performs
    the actual generation of the keystream bytes. The ensuing keystream, XOR-combined with the values of the pixel of the image,
    provides diffusion during both the encryption and decryption stages. RC4, despite its known limitations when used on its own,
    is incorporated into the proposed framework alongside a key -dependent dynamic S -box structure. This integration aims to
    strengthen its confusion properties and minimize predictability.

Encryption Process
As a cryptographic image processing algorithm, the satellite image was dimensionally reduced and represented as one -
dimensional sequence of pixel values. The bits of each section in this sequence were then operated on by an exclusive -or
operation with a co rrespondingly chosen bit of an RC4 key stream. Subsequently, the resultant values were subjected to a
substitution process, in which each value was substituted in accordance with a dynamically constructed substitution box (S -
box). This combined process pr ovided the diffusion, through the XOR operation, and confusion, through the nonlinear
substitution offered by the S-box. Lastly, the reconstructed sequence was again assembled into a two -dimensional matrix of the
same size to the original image, thus providing the encrypted visual data.
Decryption Process

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

125

The de -encryption process systematically inverts the encryption channel, thus, reassembling the original image with perfect
infallibility. The encrypted image initially is converted back into linear values of pixels. Every pixel is then transformed using
the inverse S S box followed by an XOR of the pixel with the respective byte of the RC4 keystream generated with the original
secret key. The resultant values are the pure pixel values which are eventually reassembled into the two -dimension image array
to finalize the decryption process.
Performance Evaluation Metrics
To evaluate the security and efficiency of the suggested encryption scheme in a stringent way, a set of quantitative analyses
involving statistical and differential measures were conducted. The analysis of pixel intensities distributions, which includ ed
distribution of pixel intensities before and after encryption, was performed through histograms. Entropy of the obtained images
was calculated to measure the level of randomness attained. Correlation coefficients were determined in horizontal, vertical and
diagonal directions with the aim of determining the residual spatial dependence of the pixels. In addition, sensitivity to key and
resistance to differential attacks was measured based on standardized measures, that is, Number of Pixels Change Rate (NPCR)
and Unified Average Changing Intensity (UACI) where the same images were encrypted with slightly different secret keys.
Histogram analysis
Histogram analysis will be useful in evaluating the performance and strength of the image encryption algorithm in question.
Histograms are an important tool in an evaluation process as they provide a visualization of the distribution of pixel intens ities
inherent to a particular image. A well-designed encryption algorithm should create an encryption histogram that is evenly shaped
throughout the range of the intensities of the ciphered image, thereby blurring the existence of any noticeable statistical patterns
that may otherwise be exploitable cryptanalytically. A carefully constructed cryptographic transformation, therefore, is expected
to produce a histogram on which the profile is uniform and flat in terms of the average value of the encrypted image acro ss the
entire range of intensities. The uniformity is employed to provide effective protection against statistical attacks (by remov ing
patterns of pixels that can be exploited to compromise security).
Information Entropy
Shannon information entropy (IE) is used in the context of secure image processing as a quantitative measure of the amount of
unpredictability hidden in color channels in an encrypted image. It is useful in providing a stringent evaluation of the randomness
induced by cryptographic algorithms on image data.
The information entropy is traditionally calculated in the following form, when applied to a grayscale image:
𝐻(𝑚) = ∑ 𝑃(𝑚𝑖) log2
1
𝑃(𝑚𝑖)
𝑀
𝑖=1
(1)
Where 𝑃(𝑚𝑖) is the probability of the symbol 𝑚𝑖 occurring between all possible 𝑀 symbols in the image. Simply put, entropy
score of an image measures the amount of randomness contained in the pixel values in the image, which is tantamount to the
average number of bits to encode the data per pixel. In case a image has the absolute uniformity, the entropy would be zero,
which means that it does not require any bits to describe it exactly.
Number of Pixels Change Rate
The Number of Pixels Change Rate (NPCR) is a key measure in the field of image encryption, which can be used to quantitatively
measure how sensitive an algorithm to small changes on the original image is. It quantifies the extent of change in the encrypted
image when a single pixel in the plaintext (original) image is modified.
Mathematically, NPCR is defined as
𝑁𝑃𝐶𝑅 =
∑ ∑ 𝐷(𝑖, 𝑗)𝑊𝑗=1𝐻𝑖=1
𝐻 ∗ 𝑊 100% (2)

𝐷(𝑖, 𝑗) = {0 𝑖𝑓 𝐶1(𝑖, 𝑗) = 𝐶2(𝑖, 𝑗)1 𝑖𝑓 𝐶1(𝑖, 𝑗) ≠ 𝐶2(𝑖, 𝑗)
where:
H and W are the height and width of the encrypted image, respectively.

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

126

𝐶1(𝑖, 𝑗): represents the pixel value of the encrypted image before a pixel modification .
𝐶2(𝑖, 𝑗): represents the pixel value of the encrypted image after a pixel modification .
𝐷(𝑖, 𝑗): represents the difference matrix used to determine whether corresponding pixels differ .
Unified Average Changing Intensity (UACI)
UACI is a metric used to evaluate the percentage of average intensity changes between two encrypted images, which, in this
context, are interferograms. This assessment is particularly relevant when the discrepancy between the original, unencrypted
images is minimal—typically limited to a single pixel. The ideal UACI value reaches 33.46%.
The Unified Average Changing Intensity (UACI) is calculated using the following equation:
𝑈𝐴𝐶𝐼 = 1255 ∗ 𝐻 ∗ 𝑊 ∑ ∑ |𝐶𝑖𝑗1 − 𝐶𝑖𝑗2 | ∗ 100%𝑊𝑗=1 (3)𝐻𝑖=1
where:
H and W are the height and width of the encrypted image, respectively.
𝐶1(𝑖, 𝑗): represents the pixel value of the encrypted image before a pixel modification .
𝐶2(𝑖, 𝑗): represents the pixel value of the encrypted image after a pixel modification .
Correlation coefficient analysis
Correlation coefficient analysis illustrates the relationship between the pixel values of two given images. In a digital imag e, a
high correlation often exists between adjacent pixels. However, for a highly randomized encrypted image, the pixel values wil l
show little to no correlation, indicating an effective encryption process. The correlation coefficient typically ranges from 1 to
−1.
Implementation Environment
The experiments were conducted using the Python programming language within the Google Collaboratory environment. The
platform also provided researchers with a wide range of calculated resources, which made the reproducibility of experimental
results more likely. Moreover, the implementation of long -established scientific libraries contributed to the effectiveness and
accuracy of the implementation to a great extent.

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

127

Figure2 : An encryption and decryption system of proposed satellite image based on RC4 and a dynamic S-box.
start
Input satellite image
Input Secret Key
Generate Dynamic S-box
Create S-box & Inverse S-box
RC4 Key Scheduling (KSA)
RC4 Key stream Generation (PRGA)
Encryption Process
Decryption Process

  1. XOR : 𝑷(𝒊) ⊕ 𝑲(𝒊)
  2. Substitution 𝑪(𝒊) = 𝑺 − 𝑩𝒐𝒙[𝑷(𝒊) ⊕
    𝑲(𝒊)]
    Encrypted Image
  3. Inverse Substitution :
    P(i) = InvS-Box(C(i)) ⊕ K(i)
    Recovered Image
    Performance Evaluation
    Histogram, Entropy, Correlation,
    NPCR, UACI, Chi-square
    Convert to Grayscale

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

128

  1. Results and Discussion
    The current section outlines the empirical observations that emanate out of the implementation of the suggested satellite ima ge
    encryption scheme, a hybrid of RC4 keystream generation with a dynamic S to xbox substitution process. The corpus of six
    satellite images was used to exercise the methodology to evaluate its consistency in a range of image modalities. The instanc e
    of the scholarly analysis preempts the defensive strengths of the encryption, as well as the computational tractability. The main
    performance indicators were strictly investigated, such as histogram uniformity, and information entropy, the correlation
    coefficients between neighboring pixels, resistance against the differential attacks measure d by the NPCR and UACI, and Chi -
    square statistical analysis. Besides, timings of encryption and decryption of every image by the wall are carefully recorded to
    determine a realistic capability of the timeline. Table 1 summarizes the statistical and security measurements that were obtained
    on the encrypted images. The table summarizes the entropy values, correlation coefficients (horizontal, vertical and diagonal),
    NPCR and UACI, and the Chi-square test results of each of the encrypted satellite images.
    Table 1: Results of Statistical and Security Evaluations for Encrypted Satellite Images

The values of Table 1 are almost on the theoretical optimum with the value of entropy being near 8 bits. This closeness to
maximum entropy implies that the encrypted images are very random and terribly unpredictable. This randomness is crucial to
secure image-encryption schemes, to the extent that it drastically limits the possibility of statistical analysis of the ciphertext
being used to reveal any information in the plaintext. At the same time, the correlation coefficients of the encrypted images will
always be consistently close to zero in all the spatial directions, thus establishing that the proposed scheme is an effective scheme
deployed to effectively eliminate the inherent pixel-level correlations inherent to satellite images. Further, the NPCR and UACI
metrics prove the robustness of the method to the differential attacks. The values of NPCR are preferably near 100 in the
environment of secure encryption, whereas the values of UACI are on average near 33. The current findings prove that NPCR is
always more than 99.555% of all analyzed images, and UACI is always close to 33%. These figures support the fact that even
small changes that are made to the input image cause significant changes in the encrypted message thus illustrating the sensitivity
of the system to input changes- an essential characteristic that would make the inference of differential cryptanalysis impractical.
The scheme also is supported by chi -square analysis. Reduced Chi-square values indicate the more homogenous appearance of
the encrypted histogram meaning the appearance of the encrypted image does not conserve the intensity -distribution properties
of the original satellite data any longer. Most of the images had Chi-square values lying comfortably within the safe range despite
minor variations that can be attributed to changes in the contents and dimensions of the images. Lastly, to determine the
computational efficiency, the encryption and dec ryption times, on average, per satellite image were measured and reported in
Table 2.
Table 2: Execution times for encryption, decryption, and overall processing of satellite images (in milliseconds)
Total Time Decryption Time Encryption Time Image Dimensions Image
573 285 288 622 ×350 Image1
2667 1318 1349 1080×981 Image2
19177 10129 9048 2000×3616 Image3
6070 2604 3466 1920×1080 Image4
7611 3226 4385 2050×1266 Image5
Chi -square UACI(%) NPCR(%) Corr -D Corr -V Corr -H Entropy Image
257.529812 33.502029 99.558567 0.001188 0.013079 0.002477 7.999145 Image1
254.425008 33.401593 99.608298 -0.000982 -0.003739 0.016117 7.999827 Image2
284.295717 33.454831 99.609223 0.020024 -0.022042 0.001876 7.999972 Image3
235.954074 33.450808 99.609954 0.003030 -0.006801 -0.005375 7.999918 Image4
315.199587 33.460358 99.612723 0.004783 -0.005996 -0.012051 7.999912 Image5
273.175273 33.454955 99.595455 0.006076 -0.010501 0.000191 7.995519 Image6

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

129

212 106 106 250×176 Image6

As shown in Table 2, the proposed encryption scheme exhibits effective execution times with respect to the high degree of
security which is achieved as a result of synergistic implementation of RC4 diffusion and nonlinear S -box confusion. The time
taken to execute the images depends on the images, which depends on the dimensions of the imagery and the complexity of the
distribution of pixel. However, the empirical findings support the applicability of the method to the actual satellite image
protection which involves safe storage and transmission in real-life working situations. To further determine the effectiveness of
the encryption scheme, the analysis of the histogram was conducted. The histograms of the original satellite images are normally
not uniformly distributed due to the existence of structured features like the terrestrial, aquatic, vegetative as well as the urban
features. After the encryption, the histograms should be similar to uniformity, thus, showing a well -spread and statistically
random value of pixels.
Histogram of the encrypted satellite
image
Histogram of the original satellite image Original Image

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

130

Figure 3 : Histogram of the original and encrypted satellite image
The result given in Figure 3 indicates that the histogram of the encrypted image is significantly flatter as compared to the
histogram of the original image. This fact confirms that the algorithm suggested in this paper is efficient in getting rid of the
statistical patterns that are present in the input data, which in turn reduces the potential effectiveness of the histogram -based
exploitation algorithms. To measure the degree of attenuation of pixel -to-pixel dependency, a correlation study was conducted
on pixel pairs. Satellite images traditionally show a strong level of inter -pixel correlation due to the enduring aspect of earthly
texture and smooth changing demography of land -cover classifications. With this, a plausible encryption protocol must give a
distribution of correlation coefficients that is more or less consistent in nature with a fully random scatter.
Pixel Correlation (Encrypted Image) Pixel Correlation (Original Image) Original Image

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

131

Figure 4 : Correlation of adjacent pixels for the original and encrypted satellite image

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

132

Figure 5 : Horizontal, Vertical, and Diagonal Correlation Coefficients for Encrypted Satellite Images

Figure 6 : Entropy values across satellite images

The numerical correlation coefficients, as highlighted in Table 1, are supported by the correlation plots. In the original image, a
very linear image can be seen whereas the encrypted one displays a random distribution. It means that the encryption process
actually interferes with the spatial relationship between adjacent pixels. Additional examples of resistance to the different ial
attacks were investigated by analyzing the results of NPCR and UACI to plot the results of all satellite images.

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

133

Figure 7 : NPCR values across satellite images

Figure8 : UACI values across satellite images
A comparison of the results obtained using the proposed approach with various modern satellite image encryption approaches
highlighted in the literature has been presented in Table X. The given comparison highlights key performance indicators that
characterize the security level, such as the information entropy, correlation coefficients among neighboring pixels, and inability
to resist a differentiating attack, as measured by the parameters of NPCR and UACI. Most of the state -of-the-art approaches, as
shown in Table ⁸, achieve the entropy values that are nearly the ideal 8 and correlation coefficients that near zero, thus indicating
an effective breakage of pixel correlations. The suggested approach expresses a similar pattern of performance to these
sophisticated techniques, with high level of entropy, zero correlation coefficients, and strong immunity against differential
attacks and thus the suggested approach supports its effectiveness and competitiveness in the segment of safe image encryptio n
of satellites.

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

134

Table 3: Comparison of Security Metrics with Existing Satellite Image Encryption Methods
Research Techniques Correlation Coefficients
(H, V, D)
Differential Attack
(NPCR%,
UACI%)
Information
Entropy
[14] 2D filtering and Fisher Yates
shuffling
0.0021,0.0028,0.0048 99.60,33.4 7.9975
[15] Pseudo random key combined
Logistic Map, Cosine
Transformed Logistic Map
and Cosine Transformed
Logistic-Sine Map (CTLSM)
0.0005,0.0009,0.00043 99.63,33.44 7.9998
[16] Adaptation of the Fridrich’s
Scheme for multi spectral
satellite images and Uses
2DCat Map for confusion
0.042, -0.038, -0.012 99.60,33.47 ˟
[17] RNA and 7D Complex
Chaotic system
-0.0006, -0.0021, -0.0005 99.61,33.43 7.9985
Hyperchaotic System +
Singular Value
Decomposition (SVD) + RC5
Algorithm + Dynamic S -Box
Generation

-0.00013, 0.00152, -0.00081

99.61, 33.46

7.9993
[19] High-dimensional
hyperchaotic system +
dynamic S -box generation +
nonlinear permutation –
diffusion structure

0.00032, −0.00041, 0.00027

99.63, 33.46

7.9999

[26] 7D Hyper chaotic System, A
pseudo – AES algorithm and
an arrangement permutation
0.0052, -0.0031, -0.0004 99.62,33.44 7.9976
The comparison results show that the proposed method delivers security performance on par with or exceeding recent
advancements in satellite image encryption techniques.
5. CONCLUSION
The paper proposes a strong encryption and decryption method of satellite data, which is a hybrid of dynamically generated S -
box and the RC4 stream cipher. The scheme is designed in a particular manner to address problems that are natural to satellit e
images, such as large data volumes and high similarity between neighboring pixels, a characteristic that normally hinders
conventional text-based encryption protocols. The stability and security of the proposed framework is proved by the empirical
evidence obtained using six test images . The resulting ciphertexts have entropy values of near absolute ideal, with most values
approaching 8 bits , thus, by implication, being very random and having reduced predictability. In addition, the correlation
coefficients calculated between horizontally, vertically and diagonally adjacent pixel pairs are consistently very low, as fu rther
indication of the effectiveness of the algorithm in suppressing spatial dependencies present in satellite image. Under the different
attack situations, the approach yields consistent NPCR values of greater than 99.5% and UACI values of approximately 33%,
thus reestablishing that the enc ryption generates significant variations in the output in case the input image is altered in any
manner, and, thus, makes the system resistant to a differential attack. In conjunction with histogram analysis, chi -square tests
also support the almost uniform distribution of the intensity of the ciphertext, reducing the statistical vulnerability, and increasing
the resistance against histogram -based attacks. Besides the security strengths, the performance levels indicate that both
encryption and decryption methods take place within reasonable time limits, which supports the appropriateness of the approach
in implementing it in the real-world applications such as secure storage and real -time transmission in remote sensing and

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

135

geospatial applications. To conclude, a hybrid of RC4 based diffusion with key-dependent dynamic S-box replacement provides
an effective and secure system in satellite image protection. The procedure shows strong confusion and diffusion properties and
achieves reliable performance in a large range of satellite images, which makes it an interesting competitor to safeguard sensitive
images against statistical and differential cryptanalytic attacks.
6. FUTURE WORK
The expansion of the encryption methodology to multispectral and hyperspectral satellite images will be the aim of the future
research activities to increase the scope of the proposed method to include more extensive data sets of remote sensing
information. Further work will be focused on streamlining implementation plans to shorten execution times of the high-resolution
datasets so that the strategy is feasible to large -scale and real -time usage. In addition, stringent evaluation of the approach in
various transmission conditions, complemented with incorporation of lightweight key management strategies, can lead to
significant improvements on the deployment of the approach in geospatial security apparatus and other applications.
REFERENCES

[1] Nadeak, E. and F.T. Devani. Perception of privacy concerns in using Instagram among students (case study: Sriwijaya
state polytechnic). in 2023 10th International Conference on Electrical Engineering, Computer Science and Informatics
(EECSI). 2023. IEEE. DOI: 10.1109/EECSI59885.2023.10295759
[2] Mahboob, A., et al., A cryptographic scheme for construction of substitution boxes using quantic fractional
transformation. IEEE Access, 2022. 10: p. 132908-132916. DOI: 10.1109/ACCESS.2022.3230141
[3] Al-Khasawneh, M.A., W. Abu -Ulbeh, and A.M. Khasawneh. Satellite images encryption review . in 2020 International
Conference on Intelligent Computing and Human -Computer Interaction (ICHCI) . 2020. IEEE. DOI:
10.1109/ICHCI51889.2020.00034
[4] Arulmurugan, L., et al. Advancing security: exploring AI-driven data encryption solutions for wireless sensor networks .
in 2024 International Conference on Advances in Computing, Communication and Applied Informatics (ACCAI) . 2024.
IEEE. DOI: 10.1109/ACCAI61061.2024.10602020
[5] Kshetri, N., et al., algoTRIC: Symmetric and asymmetric encryption algorithms for Cryptography --A comparative
analysis in AI era. arXiv preprint arXiv:2412.15237, 2024. DOI: 10.48550/arXiv.2412.15237
[6] Buhari, B.A., et al., Performance and Security Analysis of Symmetric Data Encryption Algorithms: AES, 3DES and
Blowfish. International Journal of Advanced Networking and Applications, 2025. 16(4): p. 6473-6486.
[7] Bentoutou, Y., et al., An improved image encryption algorithm for satellite applications. Advances in Space Research,
2020. 66(1): p. 176-192. DOI: 10.1016/j.asr.2019.09.027
[8] Zhao, M., P. Olsen, and R. Chandra, Seeing through clouds in satellite images. IEEE Transactions on Geoscience and
Remote Sensing, 2023. 61: p. 1-16. DOI: 10.1109/TGRS.2023.3239592
[9] Joel, O.T. and V.U. Oguanobi, Navigating business transformation and strategic decision-making in multinational energy
corporations with geodata. International Journal of Applied Research in Social Sciences, 2024. 6(5): p. 801 -818.
https://doi.org/10.51594/ijarss.v6i5.1103
[10] de Forges de Parny, L., et al., Satellite-based quantum information networks: use cases, architecture, and roadmap.
Communications Physics, 2023. 6(1): p. 12. https://doi.org/10.1038/s42005-022-01123-7
[11] Al-Khasawneh, M.A.S., et al., A MapReduce based approach for secure batch satellite image encryption. IEEE Access,
2023. 11: p. 62865-62878. DOI: 10.1109/ACCESS.2023.3279719
[12] Azhari, M., et al., Implementasi Pengamanan Data pada Dokumen Menggunakan Algoritma Kriptografi Advanced
Encryption Standard (AES). Jurnal Pendidikan Sains dan Komputer, 2022. 2(1): p. 2809 -476.
https://doi.org/10.47709/jpsk.v2i1.1390
[13] Rashid, F.B., et al., Privacy-Preserving for Images in Satellite Communications: A Comprehensive Review of Chaos -
Based Encryption. arXiv preprint arXiv:2410.21177, 2024. DOI:10.48550/arXiv.2410.21177
[14] Naim, M. and A. Ali Pacha, New chaotic satellite image encryption by using some or all the rounds of the AES algorithm.
Information Security Journal: A Global Perspective, 2023. 32(3): p. 187-211. doi:10.1080/19393555.2021.1982082
[15] Kumar, A. and M. Dua, Novel pseudo random key & cosine transformed chaotic maps based satellite image encryption.
Multimedia tools and applications, 2021. 80(18): p. 27785-27805. https://link.springer.com/article/10.1007/s11042-021-
10970-5
[16] Bensikaddour, E.-H., Y. Bentoutou, and N. Taleb, Embedded implementation of multispectral satellite image encryption
using a chaos-based block cipher. Journal of King Saud University-Computer and Information Sciences, 2020. 32(1): p.
50-56. https://doi.org/10.1016/j.jksuci.2018.05.002
[17] Zhao, L., et al., Satellite image encryption based on RNA and 7D complex chaotic system. The Visual Computer, 2024.
40(8): p. 5659-5679. https://link.springer.com/article/10.1007/s00371 -023-03128-x
[18] Youssef, M., et al., Enhancing satellite image security through multiple image encryption via hyperchaos, svd, rc5, and
dynamic s-box generation. IEEE Access, 2024. 12: p. 123921-123945. DOI: 10.1109/ACCESS.2024.3454512

Iraqi Journal for Computers and Informatics DOI: 10.25195/ijci.v52i2760 .

136

[19] Kumar, K., et al., An image encryption scheme using PRESENT -RC4, chaos and secure key generation. Scientific
Reports, 2025. 15(1): p. 42775. https://doi.org/10.1038/s41598-025-26953-7
[20] Ghaleb, A.A., S. Sasi, and A. Aswatha. Design and implementation of satellite image encryption by using ecc . in 2018
3rd IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology
(RTEICT). 2018. IEEE. DOI: 10.1109/RTEICT42901.2018.9012322
[21] Ibrahim, A.K., et al. Chaotic isomorphic elliptic curve cryptography for secure satellite image encryption . in 2021
International Telecommunications Conference (ITC-Egypt). 2021. IEEE. DOI: 10.1109/ITC-Egypt52936.2021.9513949
[22] Abbas, S.Z., H. Ibrahim, and M. Khan, A hybrid chaotic blowfish encryption for high -resolution satellite imagery.
Multimedia Tools and Applications, 2021. 80(17): p. 26069 -26091. https://link.springer.com/article/10.1007/s11042-
021-10898-w
[23] Satriadi, I. and A. Rahman, Electronic archive design with RC4 cryptographic based file security. Journal of Computer
Networks, Architecture and High Performance Computing, 2024. 6(1): p. 34-44. doi.10.47709/cnahpc.v6i1.3298
[24] Salih, H.M. and R.S. Al Mahdawi, The security of RC4 algorithm using keys generation depending on user’s retina.
Indonesian Journal of Electrical Engineering and Computer Science, 2021. 24(1): p. 452 -463. DOI:
10.11591/ijeecs.v24.i1.pp452-463
[25] Febriyani, F.S. and A. Arfriandi, Implementasi Algoritma RC4 pada Sistem Pengamanan Dokumen Digital Soal Ujian.
JISKA (Jurnal Informatika Sunan Kalijaga), 2021. 6(3): p. 171-177. https://doi.org/10.14421/jiska.2021.6.3.171 -177
[26] Naim, M. and A. Ali Pacha, A new chaotic satellite image encryption algorithm based on a 2D filter and Fisher –Yates
shuffling: M. Naim, AA Pacha. The Journal of Supercomputing, 2023. 79(15): p. 17585 -17618.
https://link.springer.com/article/10.1007/s11227 -023-05346-5

论文原文与出版信息

Iraqi Journal for Computers and Informatics
查看论文原文

继续探索