Implementation Of The Advanced Encryption Standard-128 Algorithm And Huffman Compression To Protect Student Grade Data
Abstract
Student grade data is personal data that must be protected under Indonesian Law Number 27 of 2022 on Personal Data Protection, yet the rising number of data breaches in the education sector shows that such protection has not been optimally implemented. This study implements the 128-bit Advanced Encryption Standard (AES) algorithm combined with Huffman compression to protect the confidentiality and integrity of student grade files in Excel (.xlsx) format, and evaluates its effectiveness through functional, performance, and security testing. The system was developed as a Python desktop application with a CustomTkinter interface, in which the encryption process runs Huffman compression before AES-128, while integrity verification uses SHA-256 hashing. Testing was conducted on seven student grade files from MA Ma'ahid Kudus. The results show that all files were successfully encrypted and decrypted without failure or data alteration, with encryption times of 0.0142-0.0828 seconds and decryption times of 0.0046-0.1417 seconds. The SHA-256 hash values of the original and decrypted files were identical for all samples, yielding 100% recovery accuracy, while the file size increase from padding and header insertion ranged only from 1,092 to 1,101 bytes. The study concludes that the combination of AES-128 and Huffman compression is an effective and efficient solution for protecting student grade data in educational institutions.
Keywords
Downloads
References
[2] M. Arridho, N. Sari, R. W. Ilham, and W. Amini, "Perkembangan Teknologi Dibidang Pendidikan," vol. 2, no. 5, pp. 468-475, 2022, doi: 10.36418/comserva.v2i5.345.
[3] T. G. Pratama, D. Rosita, Anwari, and Purbowati, "Peningkatan Kesadaran Keamanan Data Pribadi Dan Hukum Cyber," vol. 5, pp. 96-100, 2023.
[4] F. Fadliansyah, M. K. Mubarok, M. D. Aziz, and A. E. Augustia, "Evaluasi Pembelajaran dari Kasus Kebocoran Data di Indonesia sebagai Negara dengan Data Breach Terbesar Ke-8 Dunia," vol. 3, no. 2, pp. 272-277, 2025.
[5] S. N. Coalliani, A. E. K. Tejawati, S. H. Budiawati, Irmawati, L. Komariyah, and Y. Dwiyono, "Evaluasi Keamanan dan Manajemen Data pada Sistem Informasi Sekolah di Era Transformasi Digital," vol. 8, 2026.
[6] T. Lesmana, E. Elis, and S. Hamimah, "Urgensi Undang-Undang Perlindungan Data Pribadi Sebagai Pemenuhan Hak Atas Privasi Masyarakat Indonesia," vol. 3, no. 2, pp. 1-7, 2022.
[7] K. R. A. Suari and I. M. Sarjana, "Menjaga Privasi di Era Digital: Perlindungan Data Pribadi di Indonesia," vol. 1, pp. 132-146, 2023, doi: 10.38043/jah.v6i1.4484.
[8] D. N. Sari, A. Fauzi, S. N. Alya, I. Larasati, K. R. Sutrisna, S. I. Z. Zami, and N. A. Yunus, "Analisis Penanganan Insiden Kebocoran Data Tokopedia dan Dampaknya terhadap Kepercayaan Publik," vol. 2, no. 1, 2025, doi: 10.63217/orbit.v2i1.189.
[9] R. Milafebina, I. P. Lesmana, and M. R. Syailendra, "Perlindungan Data Pribadi terhadap Kebocoran Data Pelanggan E-commerce di Indonesia," vol. 4, no. 1, 2023.
[10] A. H. S. Nusantara, I. K. Umam, and M. Lubis, "Jaminan Informasi dan Keamanan yang Lebih Baik: Studi Kasus BPJS Kesehatan," vol. 18, 2024.
[11] Hidayatullah and Insanudin, "Peningkatan Kasus Pelanggaran Data di Sektor Pendidikan," 2016.
[12] N. O. Rahmadani, G. A. Fitri, and S. A. Wiraguna, "Perlindungan Data Pribadi sebagai Hak Asasi Manusia: Perspektif Hukum berdasarkan UU No. 27 Tahun 2022," vol. 5, no. 1, pp. 712-719, 2025.
[13] D. A. Meko, "Perbandingan Algoritma DES, AES, IDEA dan Blowfish dalam Enkripsi dan Dekripsi Data," Jurnal Teknologi Terpadu, vol. 4, no. 1, pp. 8-15, 2018.
[14] Z. S. Gandhara, "Evaluasi Kinerja Algoritma Kriptografi dalam Pengamanan Video: Studi Perbandingan AES, DES dan Blowfish," vol. 2, no. 2, 2025.
[15] D. S. Purwanti, M. Fadli, M. Surono, and E. R. Susanto, "Keamanan Database Aplikasi Manajemen Siswa," vol. 4, no. 2, pp. 111-119, 2025.
[16] B. Wicaksana and M. Setiawan, "Penerapan Algoritma Advanced Encryption Standard (AES) untuk Pengamanan Berkas Soal Ujian," vol. 10, no. 1, pp. 25-34, 2022.
[17] D. Limbachia and P. D. Tawde, "Encryption of Card Details Using AES with a 128-bit Key: A Secure Approach to Data Protection," pp. 1-9, 2024, doi: 10.55041/IJSREM29484.
[18] M. R. Andriyanto and P. Sukmasetya, "Penerapan Algoritma Advanced Encryption Standard (AES) Untuk Keamanan Data Transaksi Pada Sistem E-Marketplace," Journal of Computer System and Informatics (JoSYC), vol. 4, no. 1, pp. 179-187, 2022, doi: 10.47065/josyc.v4i1.2451.
[19] N. Noprianto and V. N. Wijayaningrum, "End To End Enkripsi Menggunakan Advanced Encryption Standard Pada Perangkat Internet of Things," Jurnal Sistem Informasi Dan Bisnis Cerdas, vol. 14, no. 2, pp. 98-107, 2021, doi: 10.33005/sibc.v14i2.2734.
[20] M. Marwaha, R. Bedi, A. Singh, and T. Singh, "Comparative Analysis of Cryptographic Algorithms," pp. 1-3, 2013.
[21] N. A. Kafa, D. Virgian, and S. Yudha, "Implementasi Kriptografi Berbasis Web dengan Algoritma Advanced Encryption Standard (AES) 256 dan Kompresi Huffman untuk Pengamanan File di SMK Satria," vol. 12, pp. 50-55, 2024.
[22] N. A. Tarigan, A. C. N. Anggreni, A. Balqis, I. Nurfadilah, E. S. Bakti, and F. Mahyudin, "Pengembangan Aplikasi Kriptografi RSA dan SHA-256 Berbasis Web Menggunakan Flask," vol. 1, no. 2, pp. 40-44, 2025.
[23] W. Stallings, Cryptography and Network Security, 6th ed. Pearson, 2016.