Strengthening Image Security with Unimodular Hill Cipher and Advanced Encryption Standard
Samsul Arifin1, Dwi Wijonarko2, Monica Mayeni Manurung1, Roni1, Puguh Wahyu Prasetyo3 & Fabian Surya Pramudya4 Show affiliations
- Department of Data Science, Faculty of Engineering and Design, Institut Teknologi Sains Bandung, Bekasi, West Java, Indonesia
- Department of Information Technology, Faculty of Computer Science, University of Jember, Jember, East Java, Indonesia
- Department of Mathematics Education, Faculty of Teacher Training and Education, Universitas Ahmad Dahlan, Yogyakarta, Indonesia
- Department of Mathematics, School of Computer Science, Bina Nusantara University, Jakarta, Indonesia
Journal of Computer Science, Volume 21, Issue 5, pp. 1071–1082 · doi.org/10.3844/jcssp.2025.1071.1082
Abstract
Digital data security has become increasingly important with the growth of digital image usage, which often contains sensitive information. This study aims to enhance the security of digital images by combining Unimodular Hill Cipher (UHC) and Advanced Encryption Standard (AES) methods. UHC, a matrix-based symmetric encryption algorithm, is used for image matrix encryption, while AES provides an additional layer of security to protect images against advanced cryptographic attacks. The methodology involves several stages: Preprocessing digital images into matrix form, encrypting matrix blocks using UHC, and applying AES encryption for further protection. The encryption and decryption processes are implemented using Python programming, utilizing libraries such as NumPy, Pillow, and PyCryptodome. Experimental analysis evaluates time efficiency, data integrity, and resistance to cryptographic attacks. The results show that the hybrid UHC-AES method significantly enhances security by randomizing pixel values, as evidenced by entropy analysis, histogram comparison, and correlation evaluation. The entropy values indicate high randomness, and the correlation analysis shows no relationship between the original and encrypted images, ensuring strong encryption. Additionally, the method performs efficiently for medium-sized image files, with encryption times increasing proportionally to key size. Despite its effectiveness, challenges remain, particularly in optimizing the encryption speed for large files and addressing key management vulnerabilities. This study contributes to advancing digital image security by integrating UHC and AES into a robust hybrid cryptographic approach. It opens avenues for future research on developing more efficient algorithms and exploring real-time applications in multimedia data protection.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
Arifin, S., Wijonarko, D., Manurung, M. M., Roni, ., Prasetyo, P. W. & Pramudya, F. S. (2025). Strengthening Image Security with Unimodular Hill Cipher and Advanced Encryption Standard. Journal of Computer Science, 21(5), 1071–1082. https://doi.org/10.3844/jcssp.2025.1071.1082
- Licence
- CC BY 4.0
- Issue
- Volume 21, Issue 5
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
