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.
Authors
- Erik Iman Heri Ujianto (ORCID: https://orcid.org/0000-0002-3089-5066)
- Jaganatha Jaganatha
Institutions
- Universitas Teknologi Yogyakarta (ID)
Publication Details
- Journal
- Research in Education Technology and Multiculture
- Published
- 2026-11-30
- DOI
- https://doi.org/10.61436/rietm/v5i4.pp487-501
- Primary Topic
- Cryptographic Implementations and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00