Analysis of the Influence of Key Length, File Size, and File Format on AES-GCM Performance
Digital data security requires cryptographic methods that ensure data confidentiality and integrity while maintaining good performance. This study evaluates the performance of the Advanced Encryption Standard–Galois/Counter Mode (AES-GCM) based on key length, file size, and file format. This study employed a quantitative approach by implementing AES-GCM in Python in Google Colab, using an AMD EPYC 7B12 processor (2 vCPUs) and 12 GB RAM. Testing was conducted on 1 MB, 5 MB, and 10 MB JPG and PDF files using AES-128, AES-192, and AES-256 combinations, for a total of 180 tests. The parameters measured in this study were encryption time, decryption time, encryption throughput, and decryption throughput. Validation was performed by matching SHA-256 hash values and decryption results, while the effects of the research factors were analyzed using two-way analysis of variance (ANOVA). The results indicate that all 180 tests were decrypted and produced hashes that matched the original data. At p = 0.001, file size affects encryption and decryption times for JPG and PDF files, with the interaction between key length and file size being significant for JPG decryption throughput (p = 0.035) and PDF (p = 0.027). The findings suggest that the combination of file characteristics and key configuration affects AES-GCM performance.
Keywords: AES-GCM, algorithm performance, cryptography, data encryption, throughput.
Alenezi, M. N., Alabdulrazzaq, H., Alhatlani, H. M., & Alobaid, F. A. (2024a). On the performance of AES algorithm variants. International Journal of Information and Computer Security, 23(3). https://doi.org/10.1504/IJICS.2024.138494
Alenezi, M. N., Alabdulrazzaq, H., Alhatlani, H. M., & Alobaid, F. A. (2024b). On the performance of AES algorithm variants. International Journal of Information and Computer Security, 23(3). https://doi.org/10.1504/IJICS.2024.138494
Alghamdi, Y., & Munir, A. (2024). Image Encryption Algorithms: A Survey of Design and Evaluation Metrics. Journal of Cybersecurity and Privacy, 4(1), 126–152. https://doi.org/10.3390/jcp4010007
Aljuffri, A., Huang, R., Muntenaar, L., Gaydadjiev, G., Ma, K., Hamdioui, S., & Taouil, M. (2024a). The Security Evaluation of an Efficient Lightweight AES Accelerator †. Cryptography, 8(2), Article 24. https://doi.org/10.3390/cryptography8020024
Aljuffri, A., Huang, R., Muntenaar, L., Gaydadjiev, G., Ma, K., Hamdioui, S., & Taouil, M. (2024b). The Security Evaluation of an Efficient Lightweight AES Accelerator †. Cryptography, 8(2), 1–20. https://doi.org/10.3390/cryptography8020024
Amirkhanova, G., Ismailov, S., Amirkhanov, A., Adilzhanova, S., Zhasuzakova, M., & Chen, S. (2026a). A Lightweight, End-to-End Encrypted Data Pipeline for IIoT: An AES-GCM Implementation for ESP32, MQTT, and Raspberry Pi. Information (Switzerland), 17(1), Article 33. https://doi.org/10.3390/info17010033
Amirkhanova, G., Ismailov, S., Amirkhanov, A., Adilzhanova, S., Zhasuzakova, M., & Chen, S. (2026b). A Lightweight, End-to-End Encrypted Data Pipeline for IIoT: An AES-GCM Implementation for ESP32, MQTT, and Raspberry Pi. Information (Switzerland), 17(1), Article 33. https://doi.org/10.3390/info17010033
Azzouzi, O., Anane, M., Ghanem, M. C., Himeur, Y., & Wojtczak, D. (2025). Flexible and Area-Efficient Codesign Implementation of AES on FPGA. Cryptography, 9(4), 1–16. https://doi.org/10.3390/cryptography9040078
Boonkrong, S., & Kaensawan, P. (2026). Performance Evaluation of Advanced Encryption Standard and Blowfish Encryption on WearOS: Implications for Wearable Device Security. Journal of Cybersecurity and Privacy, 6(2). https://doi.org/10.3390/jcp6020050
Bosland, J., Ene, S., Baumgartner, P., & Immler, V. (2024). High-Performance Design Patterns and File Formats for Side-Channel Analysis. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2024(2), 769–794. https://doi.org/10.46586/tches.v2024.i2.769-794
Carvalho, M., Sá, F., & Bernardino, J. (2025). Evaluation of the Impact of AES Encryption on Query Read Performance Across Oracle, MySQL, and SQL Server Databases. Cryptography, 9(4), 1–25. https://doi.org/10.3390/cryptography9040077
Chan, M. O., & Yazid, S. (2024). A Novel Framework for Information Security During the SDLC Implementation Stage: A Systematic Literature Review. Jurnal RESTI, 8(1), 88–99. https://doi.org/10.29207/resti.v8i1.5403
Cheng, P.-Y., Su, Y.-C., & Chao, P. C.-P. (2024). Novel high throughput-to-area efficiency and strong-resilience datapath of AES for lightweight implementation in IoT devices. IEEE Internet of Things Journal, 11(10), 17678–17687. https://doi.org/10.1109/JIOT.2024.3359714
Choi, W., Hwang, S., Lee, B., & Lee, J. (2024). ZLR: A fast online authenticated encryption scheme achieving full security. In Designs, Codes, and Cryptography, 92(10), 3261–3316. Springer US. https://doi.org/10.1007/s10623-024-01434-6
Dinev, D., & Spasova, G. (2026a). A Software Platform for Benchmarking, Multi-Criteria Evaluation, and Integrity Validation of Symmetric Encryption Algorithms. Journal of Cybersecurity and Privacy, 6(4), Article 106. https://doi.org/10.3390/jcp6040106
Dinev, D., & Spasova, G. (2026b). A Software Platform for Benchmarking, Multi-Criteria Evaluation, and Integrity Validation of Symmetric Encryption Algorithms. Journal of Cybersecurity and Privacy, 6(4), Article 106. https://doi.org/10.3390/jcp6040106
Dinev, D., & Spasova, G. (2026c). A Software Platform for Benchmarking, Multi-Criteria Evaluation, and Integrity Validation of Symmetric Encryption Algorithms. Journal of Cybersecurity and Privacy, 6(4), Article 106. https://doi.org/10.3390/jcp6040106
Gafur, S., & Aribowo, E. (2025). Studi Pendekatan Quality & Differential Analysis Terhadap Kinerja Algoritma AES-CBC pada Enkripsi Gambar [Study of Quality & Differential Analysis Approach to the Performance of the AES-CBC Algorithm in Image Encryption]. Jurnal Teknologi Informasi dan Ilmu Komputer, 12(5), 1115–1122. https://doi.org/10.25126/jtiik.2025125.
Ganesh, R., Khan, B. U. I., Khan, A. R., & Kamsin, A. Bin. (2025). A panoramic survey of the Advanced Encryption Standard: from architecture to security analysis, key management, real-world applications, and post-quantum challenges. In International Journal of Information Security, 24, Article 216. https://doi.org/10.1007/s10207-025-01116-x
Hazzaa, F., Qashou, A., Al Barazanchi, I. I., Sekhar, R., Shah, P., Bachute, M., & Abdulbaqi, A. S. (2024). Performance Analysis of Advanced Encryption Standards for Voice Cryptography with Multiple Patterns. International Journal of Safety and Security Engineering, 14(5), 1439–1446. https://doi.org/10.18280/ijsse.140511
Kim, C., Kim, S., Sohn, K., Son, Y., Kumar, M., & Kim, S. (2025). Secure and Scalable File Encryption for Cloud Systems via Distributed Integration of Quantum and Classical Cryptography. Applied Sciences (Switzerland), 15(14), 7782. https://doi.org/10.3390/app15147782
Kim, K., Choi, S., Kwon, H., Kim, H., Liu, Z., & Seo, H. (2020). PAGE: Practical AES-GCM encryption for low-end microcontrollers. Applied Sciences (Switzerland), 10(9). https://doi.org/10.3390/app10093131
Kuroda, K., Fukuda, Y., Yoshida, K., & Fujino, T. (2023). Practical aspects on non-profiled deep-learning side-channel attacks against AES software implementation with two types of masking countermeasures including RSM. Journal of Cryptographic Engineering, 13(4), 427–442. https://doi.org/10.1007/s13389-023-00312-6
Lee, Y., Kang, J., & Lee, J. (2025). A lightweight AES-256 accelerator design through processing order optimization for low-cost hardware security. Journal of Semiconductor Technology and Science, 25(4), 406–413. https://doi.org/10.5573/JSTS.2025.25.4.406
Lemes-Perera, S., R. Alarcon, M., Caballero-Gil, P., & Serra-Ricart, M. (2026). A high-throughput AES-GCM implementation on GPUs for secure, policy-based access to massive astronomical catalogs. Astronomy and Computing, 57(February), 101153. https://doi.org/10.1016/j.ascom.2026.101153
Li, H., & Perin, G. (2024). A systematic study of data augmentation for protected AES implementations. Journal of Cryptographic Engineering, 14(4), 649–666. https://doi.org/10.1007/s13389-024-00363-3
Lin, M.-B., & Chuang, J.-H. (2024). The design of a high-throughput hardware architecture for the AES-GCM algorithm. IEEE Transactions on Consumer Electronics, 70(1), 425–432. https://doi.org/10.1109/TCE.2023.3332872
Mancillas-López, C., & Ovilla-Martínez, B. (2022). An ultra-fast authenticated encryption scheme with associated data using AES-OTR. Journal of Circuits, Systems and Computers, 31(9), 2250167. https://doi.org/10.1142/S0218126622501675
Meng, B., Yuan, X., Zhang, Q., Lam, C. T., & Huang, G. (2024). Encryption-then-embedding-based hybrid data hiding scheme for medical images. Journal of King Saud University - Computer and Information Sciences, 36(1), 101932. https://doi.org/10.1016/j.jksuci.2024.101932
Muhammad Naufal, F., Ardiansyah, R., & Imelda. (2026). Analisis Deteksi Dini Serangan Sosial Engineering Menggunakan NIST Cybersecurity Framework [Early Detection Analysis of Social Engineering Attacks Using the NIST Cybersecurity Framework]. Jurnal Algoritma, 23(1), 30–38. https://doi.org/10.33364/algoritma/v.23-1.2293
Nagaraju, S., Nagendra, R., Balasundaram, S., & Kiran Kumar, R. (2023). Biometric key generation and multi round AES crypto system for improved security. Measurement: Sensors, 30(February), 100931. https://doi.org/10.1016/j.measen.2023.100931
Niu, Z., Peng, Z., Sun, N., Pan, Z., Wang, J., Cheng, J., Liu, W., Li, J., Shi, K., Wang, J., Zhang, J., Wang, L., Song, K., & Yu, W. (2026). A DPA-resistant and reconfigurable AES cryptographic engine design and implementation. International Journal of Circuit Theory and Applications, 54(3), 1385–1399. https://doi.org/10.1002/cta.70073
Panahi, U., & Bayılmış, C. (2023). Enabling secure data transmission for wireless sensor networks based IoT applications. Ain Shams Engineering Journal, 14(2). https://doi.org/10.1016/j.asej.2022.101866
Raharjo, T., & Prayudi, Y. (2025). Securing Electronic Medical Documents Using AES and LZMA. Jurnal RESTI, 9(2), 374–384. https://doi.org/10.29207/resti.v9i2.6260
Sanjalawe, Y., Al-Daraiseh, A., Al-E’mari, S., & Makhadmeh, S. N. (2026). FileCipher: A Chaos-Enhanced CPRNG-Based Algorithm for Parallel File Encryption. Algorithms, 19(2), 1–56. https://doi.org/10.3390/a19020119
Santos, D., Cabacinho, J., Casaleiro, J., Leithardt, V. R. Q., & Oliveira, L. B. (2026). AES hardware architectures and non-standard Rijndael extensions up to 1024-bit keys: An open-source FPGA and 45-nm ASIC evaluation. Journal of Systems Architecture, 181(September), 104028. https://doi.org/10.1016/j.sysarc.2026.104028
Shafique, A., Mehmood, A., Alawida, M., Elhadef, M., & Rehman, M. U. (2025). A fusion of machine learning and cryptography for fast data encryption through the encoding of high and moderate plaintext information blocks. Multimedia Tools and Applications, 84(8), 5349–5375. https://doi.org/10.1007/s11042-024-18959-6
Sorescu, T. G., Chiriac, V. M., Stoica, M. A., Comsa, C. R., Soroaga, I. G., & Contac, A. (2025). Comparative Performance Analysis of Lightweight Cryptographic Algorithms on Resource-Constrained IoT Platforms †. Sensors, 25(18), 1–17. https://doi.org/10.3390/s25185887
Sulistyo, C. A., Firmansyah, G., Tjahjono, B., & Widodo, A. M. (2025). Analysis of The Maturity Level of Cyber Security in The Context of Personal Data Protection for MSMEs in Depok City. Eduvest - Journal of Universal Studies, 5(2), 2155–2171. https://doi.org/10.59188/eduvest.v5i2.50822
Susanti, A. D., Hadiana, A. I., Umbara, F. R., & Himawan, H. (2024). Hybrid Cryptosystem Using RC5 and SHA-3 with LSB Steganography for Image Protection. Innovation in Research of Informatics (Innovatics), 6(2), 65–72. https://doi.org/10.37058/innovatics.v6i2.11515
Timur, M. B. B., Royansyah, R., & Kusumaningsih, D. (2025). Comparison of efficiency and security of AES, Blowfish, and ChaCha20 cryptographic algorithms on image and document files. Innovation in Research of Informatics (INNOVATICS), 7(2), 96–102. https://doi.org/10.37058/innovatics.v7i2.15748
Wang, H. (2026a). Dual-modal system for real-time encryption and anomaly detection of 5G communication data integrating AES-GCM and LSTM. International Journal of Information and Communication Technology, 27(41), 21–44. https://doi.org/10.1504/IJICT.2026.10077622
Wang, H. (2026b). Dual-modal system for real-time encryption and anomaly detection of 5G communication data integrating AES-GCM and LSTM. International Journal of Information and Communication Technology, 27(41), 21–44. https://doi.org/10.1504/IJICT.2026.10077622
Yan, X., Tan, L., Xu, H., & Qi, W. (2024). Improved mixture differential attacks on 6-round AES-like ciphers towards time and data complexities. Journal of Information Security and Applications, 80, Article 103661. https://doi.org/10.1016/j.jisa.2023.103661
Yuce, M. F., Keskin, O., Yerlikaya, E., Akmaz, M. Y., Kirca, A., Yiltas-Kaplan, D., Erturk, M. A., Gurkas-Aydin, Z., Turna, C., Buyukakkaslar, M. T., Durukan-Odabaşı, & Aydin, M. A. (2025). WireGuard-AES: Hardware based encryption to WireGuard for VPN gateways. SoftwareX, 31, 102314. https://doi.org/10.1016/j.softx.2025.102314
Zhang, S., Xie, X., Fan, T., & Wang, Y. (2026). Research on Encryption and Decryption Technology of Microservice Communication Based on Block Cipher. Electronics (Switzerland), 15(2), 1–15. https://doi.org/10.3390/electronics15020431
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
The copyright is reserved to Research in Education, Technology, and Multiculture that is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Address:
CV. IMRECS: Jalan Gagak I, Kecamatan Larangan, Kota Tangerang. Postal Code: 15155

