Implementation of the Discrete Wavelet Transform (DWT) Algorithm for Video File Security
DOI:
https://doi.org/10.56211/tsabit105Keywords:
Discrete Wavelet Transform; video file security; digital data security; digital signal processing; multimedia data protection
Abstract
The growing reliance on digital video across education, entertainment, communication, and security applications has made video one of the most widely used forms of multimedia data, yet this growth has also exposed video files to risks such as unauthorized access, data theft, content manipulation, and misuse of digital information. This study addresses these risks by implementing the Discrete Wavelet Transform (DWT) algorithm as a signal-processing-based method for securing video files. DWT decomposes each video frame from the time domain into the frequency domain, producing a visual representation that is difficult to recognize, while the Inverse Discrete Wavelet Transform (IDWT) reconstructs the video back to a form approximating the original. A security key was applied to the wavelet coefficients to prevent reconstruction without proper authorization. The system was built in Python using OpenCV for video processing, PyWavelets for the DWT/IDWT operations, NumPy for numerical computation, and CustomTkinter for the desktop interface, following a Research and Development approach with a Waterfall development model. Black box testing confirmed that the encryption and decryption functions operated correctly across the tested video files, and quality evaluation using Peak Signal to Noise Ratio (PSNR), Mean Squared Error (MSE), Signal to Noise Ratio (SNR), and entropy showed that the encrypted videos exhibited substantial visual distortion relative to the originals, with PSNR values around 10–11 dB, MSE values in the range of roughly 5,100–5,700, and an entropy of approximately 7.37, indicating that the visual structure of the video content was concealed effectively. These findings suggest that DWT can serve as a practical signal-transformation-based approach to video data security, although its protection level remains below that of dedicated cryptographic algorithms such as AES or RSA, leaving room for future work that combines DWT with stronger cryptographic techniques.
Downloads
References
Book
[1] Indah Purnama Sari. Algoritma dan Pemrograman. Medan: UMSU Press, 2023, pp. 290.
[2] Janner Simarmata Arsan Kumala Jaya, Syarifah Fitrah Ramadhani, Niel Ananto, Abdul Karim, Betrisandi, Muhammad Ilham Alhari, Cucut Susanto, Suardinata, Indah Purnama Sari, Edson Yahuda Putra. Komputer dan Masyarakat. Medan: Yayasan Kita Menulis, 2024, pp.162.
[3] Mahdianta Pandia, Indah Purnama Sari, Alexander Wirapraja Fergie Joanda Kaunang, Syarifah Fitrah Ramadhani Stenly Richard Pungus, Sudirman, Suardinata Jimmy Herawan Moedjahedy, Elly Warni, Debby Erce Sondakh. Pengantar Bahasa Pemrograman Python. Medan : Yayasan Kita Menulis, 2024, pp.180
[4] Zelvi Gustiana Arif Dwinanto, Indah Purnama Sari, Janner Simarmata Mahdianta Pandia, Supriadi Syam, Semmy Wellem Taju Fitrah Eka Susilawati, Asmah Akhriana, Rolly Junius Lontaan Fergie Joanda Kaunang. Perkembangan Teknologi Informatika. Medan: Yayasan Kita Menulis, 2024, pp.158
[5] Indah Purnama Sari. Buku Ajar Pemrograman Internet Dasar. Medan: UMSU Press, 2022, pp. 300.
[6] Indah Purnama Sari. Buku Ajar Rekayasa Perangkat Lunak. Medan: UMSU Press, 2021, pp. 228.
[7] Purba, A. M. V., Pradipta, R., Zulherry, A., Sari, I. P., Ansya, Y. A. U., Basri, M., ... & Darnilasari, A. (2026). Pengetahuan Dasar Komputer. Yayasan Kita Menulis.
[8] Irfan, A. P., Susanto, C., Sari, I. P., Zulherry, A., Ansya, Y. A. U., Dewi, I. K., ... & Mubarak, R. (2026). Sistem Informasi Modern untuk Era Digital. Yayasan Kita Menulis.
[9] Kaban, R., Rachman, A. I., Sari, I. P., Zulherry, A., Basri, M., Fadilah, N., ... & Ahyuna, A. (2026). Pengantar Artificial Intelligence, Machine Learning, dan Big Data. Yayasan Kita Menulis.
Journal Article
[10] Ahmed, R., & Khan, M. 2023. “Multimedia Data Security using Discrete Wavelet Transform.” International Journal of Multimedia Security, 12(2), 45–53.
[11] Gonzalez, R. C., & Woods, R. E. 2022. Digital Image Processing (4th ed.). Pearson Education.
[12] Jogiyanto. 2017. Analisis dan Desain Sistem Informasi. Yogyakarta: Andi Offset.
[13] Lutz, M. 2023. Learning Python (6th ed.). O’Reilly Media.
[14] Mallat, S. 2022. A Wavelet Tour of Signal Processing. Academic Press.
[15] Munir, R. 2019. Pengolahan Citra Digital dengan Pendekatan Algoritmik. Bandung: Informatika.
[16] Pressman, R. S. 2022. Software Engineering: A Practitioner’s Approach (9th ed.). McGraw-Hill.
[17] Rahman, M., & Islam, S. 2022. “Digital Image Security using Discrete Wavelet Transform.” International Journal of Computer Applications, 15(3), 55–62.
[18] Rosa, A. S., & Shalahuddin, M. 2018. Rekayasa Perangkat Lunak Terstruktur dan Berorientasi Objek. Bandung: Informatika.
[19] Singh, P., & Sharma, V. 2022. “Wavelet-Based Multimedia Protection Techniques.” Journal of Digital Signal Processing, 19(4), 120–129.
[20] Sutoyo, T., Mulyanto, E., Suhartono, V., Nurhayati, O. D., & Wijanarto. 2009. Teori Pengolahan Citra Digital. Yogyakarta: Andi Publisher.
[21] Zhang, Y., Li, H., & Chen, X. 2023. “Wavelet Transform for Digital Video Processing.” International Journal of Advanced Multimedia Systems, 10(1), 14–25.
[22] Zulherry, A., Sari, I.P., & Basri, M. (2025). Perancangan Aplikasi Monitoring Kehadiran Pegawai Menggunakan RFID. sudo Jurnal Teknik Informatika 4 (4), 378-384
[23] Zulherry, A., & Gunawan, M. (2025). Development of an Android-Based Smart Health Monitoring Device for Heartbeat Detection. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal, 6(2), 75-79.
[24] Zulherry, A., Ramadhani, F., & Satria, A. (2024). Klasifikasi Data Tracer Study Dengan Pemanfaatan Data Mining Menggunakan Algoritma Support Vector Machine dan Neural Network. Portal Riset dan Inovasi Sistem Perangkat Lunak 2 (1), 45-54
[25] Lubis, I. Q., & Zulherry, A. (2026). Implementasi Keamanan Website Dari Serangan Cross Site Request Forgery Menggunakan Algoritma HMAC-SHA256 Pada Framework Laravel. Hello World Jurnal Ilmu Komputer, 5(1), 47-58.
[26] Asadel, A., & Zulherry, A. (2025). Detecting Zero-Width Characters Obfuscated in Phishing URLs using the XGBOOST Algorithm. Hanif Journal of Information Systems 3 (1), 43-53
[27] Sari, I.P., Zulherry, A., Basri, M., & Hayani W. (2025). Pembelajaran Pemrograman berbasis Machine Learning sebagai Upaya Peningkatan Computational Thinking. Jurnal Penelitian, Pendidikan dan Pengajaran: JPPP 6 (3), 245-250
[28] Sari, I.P., & Batubara, I.H. (2021). User Interface Information System for Using Account Services (Joint Account) WEB-Based. International Journal of Economic, Technology and Social Sciences (Injects) 2 (2), 462-469
[29] Ramadhani, F., & Sari, I.P. (2021). Pemanfaatan Aplikasi Online dalam Digitalisasi Pasar Tradisional di Medan. Prosiding Seminar Nasional Kewirausahaan 2 (1), 806-811
[30] Sari, I.P., & Alfarisi, F. (2024). Perancangan Sistem Aplikasi Pendataan Membership Gym Menggunakan Metode Unified Software Development Process (USDP) Berbasis Web. Hello World Jurnal Ilmu Komputer 3 (1), 37-48
[31] Sari, I.P., Jannah, A., Meuraxa, A.M., Syahfitri, A., & Omar, R. (2022). Perancangan Sistem Informasi Penginputan Database Mahasiswa Berbasis Web. Hello World Jurnal Ilmu Komputer 1 (2), 106-110
[32] Satria, A., Ramadhani, F., & Sari, I.P. (2023). Rancang Bangun Sistem Informasi Penerimaan Peserta Didik Baru (PPDB) Sekolah Menengah Kejuruan Telkom 2 Medan Menggunakan Codeigniter. Wahana Jurnal Pengabdian kepada Masyarakat 2 (1), 23-31
[33] Sari, I.P., Azzahrah, A., Qathrunada, I.F., Lubis, N., & Anggraini, T. (2022). Perancangan sistem absensi pegawai kantoran secara online pada website berbasis HTML dan CSS. Blend sains jurnal teknik 1 (1), 8-15
[34] Hariani, P.P., Sari, I.P., & Batubara, I.H. (2021). Android-Based Financial Statement Presentation Model. JURNAL TARBIYAH 28 (2), 1-16
[35] Sari, I.P., Syahputra, A., Zaky, N., Sibuea, R.U., & Zakhir, Z. (2022). Perancangan sistem aplikasi penjualan dan layanan jasa laundry sepatu berbasis website. Blend sains jurnal teknik 1 (1), 31-37
[36] Sari, I.P., Batubara, I.H., Ramadhani, F., & Wardani, S. (2022). Perancangan Sistem Antrian pada Wahana Hiburan dengan Metode First In First Out (FIFO). Sudo Jurnal Teknik Informatika 1 (3), 116-123
[37] Ramadhani, F., Satria, A., & Sari, I.P. (2022). Aplikasi internet berbasis website sebagai E-Commerce penjualan komponen sport car. Blend Sains Jurnal Teknik 1 (2), 69-75
[38] Sari, I.P., Ramadhani, F., Satria, A., Apdilah, D., & Basri, M. (2023). Rancangan UI/UX Aplikasi Analytics pada Toko Online Wao Sneakers Menggunakan Figma Berbasis Mobile. Factory Jurnal Industri, Manajemen dan Rekayasa Sistem Industri 1 (3), 93-101
[39] Sari, I.P., Al-Khowarizmi, A., & Batubara, I.H. (2021). Cluster Analysis Using K-Means Algorithm and Fuzzy C-Means Clustering For Grouping Students' Abilities In Online Learning Process. Journal of Computer Science, Information Technology and Telecommunication Engineering 2 (1), 139-144
[40] Hutasuhut, B.K., Sari, I.P., & Al-Khowarizmi, A. (2023). Analysis the Effect of Digitalization and Technology on Web-Based Entrepreneurship. Journal of Computer Science, Information Technology and Telecommunication Engineering 4 (1), 350-354
[41] Sitompul, D.N., Rahmatika, A., & Sari, I.P. (2023). Application of The Sales and Purchase Program Using The Rapid Application Development Model. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal 4 (1), 6-16
[42] Sari, I.P., & Batubara, I.H. (2021). Perancangan Sistem Informasi Laporan Keuangan Pada Apotek Menggunakan Algoritma K-NN. Seminar Nasional Teknologi Edukasi dan Humaniora (SiNTESa) (1).
[43] Ramadhani, F., Satria, A., & Sari, I.P. (2023). Implementasi Metode Fuzzy K-Nearest Neighbor dalam Klasifikasi Penyakit Demam Berdarah. Hello World Jurnal Ilmu Komputer 2 (2), 58-62
[44] Sari, I.P., Batubara, I.H., & Basri, M. (2022). Implementasi Internet of Things Berbasis Website dalam Pemesanan Jasa Rumah Service Teknisi Komputer dan Jaringan Komputer. Blend Sains Jurnal Teknik 1 (2), 157-163
[45] Sari, I.P., & Ramadhani, F. (2021). Pengaruh Teknologi Informasi Terhadap Kewirausahaan Pada Aplikasi Perancangan Jual Beli Jamu Berbasis WEB. Prosiding Seminar Nasional Kewirausahaan 2 (1), 874-878
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Dea Sintia, Mhd. Zulfansyuri Siambaton, Rachmat Aulia

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish in Tsabit Journal of Computer Science agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
CC BY-SA: This license allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator. The license allows for commercial use. If you remix, adapt, or build upon the material, you must license the modified material under identical terms.









