Hybrid Image Encryption Approach Using XOR, AES, and Pixel Shuffling for Improved Security
DOI:
https://doi.org/10.31642/JoKMC/2018/130201Keywords:
Image Encryption, XOR Operation , (AES)Advanced Encryption Standard, Pixel Shuffle, Histogram Analysis, Entropy; Correlation Coefficient, (Peak Signal-to-Noise Ratio, Number of Pixels Change Rate and Unified Average Changing IntensityAbstract
As digital communication continues to grow rapidly, there is an increasing need for secure and efficient techniques to send multimedia data, especially sensitive images. Symmetric cryptographic algorithms such as AES and XOR may be considered adequate for providing viable information security, but using them independently often sacrifices statistical strengths or increases computational load and cost. In this paper, we present a hybrid image encryption scheme that leverages three complementary approaches, including pixel shuffling, XOR diffusion, and AES confusion. The combination of shuffling, which is a very low overhead permutation approach, the XOR which is mathematically easy to work with, and AES which provides consistent strong non-linearity is able to produce an efficient encryption and decryption scheme with strong cryptographic qualities.
A standard image, Lena RGB (256×256), was used for the experimental evaluation of the cryptographic scheme. The quantitative analysis characterized the implementation based on a variety of aspects, including entropy (8.0 theoretical), correlation coefficients, NPCR, UACI, and PSNR. The qualitative analysis included visual inspection and histogram analysis. Overall, results indicated that the hybrid scheme provided an improvement to stand-alone AES, XOR, and shuffling. Entropy approached 7.98, correlation coefficients were close to zero, NPCR and UACI estimates were 99.21% and 33.27%, respectively, demonstrating high resistance to a differential attack. However, PSNR estimates indicated perfect, lossless decryption.
The hybrid implementation produced cipher images that exhibited flat histograms and high randomness. This hybrid strategy maintains strong cryptographic strength while allowing for a reasonable computational effort to locate secure image encryption mechanisms and will prove effective within implementation towards multimedia security and secure image transmission systems.
Unlike traditional methods that independently utilize encryption techniques, this study presents a seamlessly integrated hybrid framework. It strategically merges pixel shuffling, XOR confusion and AES diffusion to enhance security while ensuring low computational overhead and lossless data reconstruction.
Downloads
References
[1] J. Wu, X. Liao, and B. Yang, "Color image encryption based on chaotic systems and elliptic curve ElGamal scheme," Signal Processing, vol. 141, pp. 109-124, 2017.
[2] A. M. Khalaf and K. Lakhtaria, "Enhancing Hybrid System Based Mixing AES and RSA Cryptography Algorithms," Journal of Natural and.
[3] P. Sarosh, S. A. Parah, and G. M. Bhat, "An efficient image encryption scheme for healthcare applications," Multimedia Tools and Applications, vol. 81, pp. 7253-7270, 2022.
[4] A. Arab, M. J. Rostami, and B. Ghavami, "An image encryption method based on chaos system and AES algorithm," Journal of Supercomputing, vol. 75, 2019.
[5] V. A. Saeed and B. H. Sadiq, "Image encryption based on AES algorithm and XOR operation," Academic Journal of Nawroz University, vol. 12, pp. 533-539, 2023.
[6] N. Ahmed, H. M. S. Asif, and G. Saleem, "A benchmark for performance evaluation and security assessment of image encryption schemes," International Journal of Computer Network and Information Security, vol. 8, pp. 18-29, 2016.
[7] A. M. N. Gilmolk and M. R. Aref, "Lightweight image encryption using a novel chaotic technique for the safe internet of things," International Journal of Computational Intelligence Systems, vol. 17, p. 146, 2024.
[8] M. Waqas, A. A. Naqvi, and F. Nasim, "A PERFORMANCE AND SECURITY COMPARISON OF HYBRID CHAOS-AES WITH OTHER LIGHTWEIGHT IMAGE ENCRYPTION ALGORITHMS IN RESOURCE-CONSTRAINED PLATFORMS," Contemporary Journal of Social Science Review, vol. 3, pp. 1991-2009, 2025.
[9] Z. Alimzhanova, M. Skublewska-Paszkowska, and D. Nazarbayev, "Periodicity detection of the substitution box in the CBC mode of operation: experiment and study," IEEE Access, vol. 11, pp. 75686-75695, 2023.
[10] T. X. Meng and W. Buchanan, "Lightweight cryptographic algorithms on resource-constrained devices," 2020.
[11] M. Budiman, J. Tarigan, and A. Winata, "Arduino UNO and android based digital lock using combination of vigenere cipher and XOR cipher," in Journal of Physics: Conference Series, 2020, p. 012074.
[12] P. K. Yeng, J. Panford, J. B. Hayfron-Acquah, and F. Twum, "An efficient symmetric cipher algorithm for data encryption," Int Res J Eng Technol, vol. 3, pp. 8-9, 2016.
[13] G. Golovko, A. Matiashenko, and N. Solopihin, "Data encryption using xor cipher," Системи управління, навігації та зв’язку. Збірник наукових праць, vol. 1, pp. 81-83, 2021.
[14] A. u. S. Muhammad and F. Özkaynak, "SIEA: secure image encryption algorithm based on chaotic systems optimization algorithms and PUFs," Symmetry, vol. 13, p. 824, 2021.
[15] M. Nabil, A. A. Khalaf, and S. M. Hassan, "Design and implementation of pipelined and parallel AES encryption systems using FPGA," Indones. J. Electr. Eng. Comput. Sci, vol. 20, pp. 287-299, 2020.
[16] A. Bu, W. Dai, M. Lu, H. Cai, and W. Shan, "Correlation-based electromagnetic analysis attack using Haar wavelet reconstruction with low-pass filtering on an FPGA implementaion of AES," in 2018 17th IEEE International Conference On Trust, Security And Privacy In Computing And Communications/12th IEEE International Conference On Big Data Science And Engineering (TrustCom/BigDataSE), 2018, pp. 1897-1900.
[17] M. Brindha, "Multiple stage image encryption using chaotic logistic map," in 2017 international conference on intelligent sustainable systems (ICISS), 2017, pp. 1239-1243.
[18] N. Geddada, A. Sahu, and S. Arora, "Hybrid Image Encryption for WISN in Privacy Protection and Security of Public Big Data Using Chaotic Maps," in 2024 International Conference on Advances in Modern Age Technologies for Health and Engineering Science (AMATHE), 2024, pp. 1-5.
[19] B. Stimpel, Multi-modal Medical Image Processing with Applications in Hybrid X-ray/Magnetic Resonance Imaging: Friedrich-Alexander-Universitaet Erlangen-Nuernberg (Germany), 2021.
[20] Ü. Çavuşoğlu, S. Kaçar, I. Pehlivan, and A. Zengin, "Secure image encryption algorithm design using a novel chaos based S-Box," Chaos, Solitons & Fractals, vol. 95, pp. 92-101, 2017.
[21] X. Jin, X. Duan, H. Jin, and Y. Ma, "A novel hybrid secure image encryption based on the shuffle algorithm and the hidden attractor chaos system," Entropy, vol. 22, p. 640, 2020.
[22] F. Masood, J. Ahmad, S. A. Shah, S. S. Jamal, and I. Hussain, "A novel hybrid secure image encryption based on julia set of fractals and 3D Lorenz chaotic map," Entropy, vol. 22, p. 274, 2020.
[23] S. Anwar and S. Meghana, "A pixel permutation based image encryption technique using chaotic map," Multimedia tools and applications, vol. 78, pp. 27569-27590, 2019.
[24] C. İnce, K. İnce, and D. Hanbay, "A multilayer nonlinear permutation framework and its demonstration in lightweight image encryption," Entropy, vol. 26, p. 885, 2024.
[25] F. Artuğer, "Innovative image encryption approach based on bitwise XOR high nonlinear S-boxes and random permutation," Soft Computing, vol. 29, pp. 2891-2903, 2025.
Downloads
Published
Issue
Section
Categories
License
Copyright (c) 2026 hammad

This work is licensed under a Creative Commons Attribution 4.0 International License.
which allows users to copy, create extracts, abstracts, and new works from the Article, alter and revise the Article, and make commercial use of the Article (including reuse and/or resale of the Article by commercial entities), provided the user gives appropriate credit (with a link to the formal publication through the relevant DOI), provides a link to the license, indicates if changes were made and the licensor is not represented as endorsing the use made of the work.









