Implementation of Lightweight Encryption Mechanisms for Data Security in Wireless Sensor Networks
Keywords:
wireless sensor networkAbstract
Wireless Sensor Networks (WSNs) have been widely used in various applications, such as environmental monitoring, industrial systems, and smart agriculture. However, resource limitations on sensor nodes, including energy, memory, and computing capacity, are major obstacles to the implementation of strong data security mechanisms. Therefore, a lightweight yet secure encryption solution is needed to maintain data confidentiality without burdening network performance. This study aims to analyze and implement the Tiny Encryption Algorithm (TEA) as an efficient lightweight encryption algorithm to improve data security in WSNs. The research method includes designing a WSN simulation architecture using the Contiki OS platform with the Cooja Simulator, where the TEA algorithm is implemented on sensor nodes and base stations. The evaluation was conducted by comparing the performance of TEA against AES-128 and a scenario without encryption, using three main metrics: computation time, energy consumption, and data throughput. The results show that TEA has significant efficiency compared to AES-128, with an increase in computation time of about 290% from the baseline, which is much lower than AES-128, which reaches 850%. In addition, TEA's energy consumption increase was only about 4–5%, while AES-128 reached up to 14%. In terms of throughput, TEA only experienced a decrease of about 8% compared to the unencrypted scenario. These findings prove that TEA is capable of maintaining data security with minimal resource overhead, making it very suitable for implementation in WSNs with limited power and long-term operational requirements. Overall, the Tiny Encryption Algorithm (TEA) provides an optimal compromise between security, energy efficiency, and computation time, making it a viable encryption solution for implementation in large-scale wireless sensor networks and high-efficiency Internet of Things (IoT) applications.
Downloads
References
[1] K. Haseeb, I. U. Din, A. Almogren, and N. Islam, “An energy efficient and secure IoT-based WSN framework: An application to smart agriculture,” Sensors (Switzerland), vol. 20, no. 7, 2020, doi: 10.3390/s20072081.
[2] D. Thakur, Y. Kumar, A. Kumar, and P. K. Singh, “Applicability of Wireless Sensor Networks in Precision Agriculture: A Review,” Wirel. Pers. Commun., vol. 107, no. 1, pp. 471–512, 2019, doi: 10.1007/s11277-019-06285-2.
[3] F. Prasetyo, E. Putra, M. A. Mahmud, and I. S. Maqom, “Pengembangan Sistem Pemantauan Lingkungan Berbasis Internet of Things ( IoT ) di Kampus Digital Transformation Technology ( Digitech ) | e-ISSN : 2807-9000 Pengembangan Sistem Pemantauan Lingkungan Berbasis Internet of Things ( IoT ) di Kampus,” Res. Gate, no. March, 2024, doi: 10.47709/digitech.v3i2.3457.
[4] F. P. E. Putra, U. Ubaidi, R. N. Saputra, F. M. Haris, and S. N. R. Barokah, “Application of Internet of Things Technology in Monitoring Water Quality in Fishponds,” Brill. Res. Artif. Intell., vol. 4, no. 1, pp. 356–361, 2024, doi: 10.47709/brilliance.v4i1.4231.
[5] M. Majid et al., “Applications of Wireless Sensor Networks and Internet of Things Frameworks in the Industry Revolution 4.0: A Systematic Literature Review,” Sensors, vol. 22, no. 6, pp. 1–36, 2022, doi: 10.3390/s22062087.
[6] S. khan, T. Mazhar, T. Shahzad, Y. Y. Ghadi, and H. Hamam, “Integrating IoT and WSN: Enhancing quality of service through energy efficiency, scalability, and secure communication in smart systems,” Peer-to-Peer Netw. Appl., vol. 18, no. 5, p. 249, 2025, doi: 10.1007/s12083-025-02070-0.
[7] A. H. Najim and S. Kurnaz, “Study of Integration of Wireless Sensor Network and Internet of Things (IoT),” Wirel. Pers. Commun., 2023, doi: 10.1007/s11277-023-10556-4.
[8] K. Bajaj, B. Sharma, and R. Singh, “Integration of WSN with IoT Applications: A Vision, Architecture, and Future Challenges BT - Integration of WSN and IoT for Smart Cities,” S. Rani, R. Maheswar, G. R. Kanagachidambaresan, and P. Jayarajan, Eds., Cham: Springer International Publishing, 2020, pp. 79–102. doi: 10.1007/978-3-030-38516-3_5.
[9] K. Radoš, M. Brkić, and D. Begušić, “Recent Advances on Jamming and Spoofing Detection in GNSS,” Sensors, vol. 24, no. 13, pp. 1–28, 2024, doi: 10.3390/s24134210.
[10] G. M. Ram and E. Ilavarasan, “Security Challenges in Wireless Sensor Network: Current Status and Future Trends,” Wirel. Pers. Commun., vol. 139, no. 2, pp. 1173–1202, 2024, doi: 10.1007/s11277-024-11660-9.
[11] S. Wahyuni and S. Danuasmo, “Identifikasi Keutuhan Dan Penangan Keamanan Data Pada Wireless Sensor Network,” JINTECH J. Inf. Technol., vol. 3, no. 1, pp. 10–21, 2022, doi: 10.22373/jintech.v3i1.1557.
[12] A. Wahid, S. G. Zain, J. M. Parenreng, and I. Juliady, “Protokol Keamanan pada Wireless Sensor Network (WSN) Menggunakan Firewall Iptables dan Enkripsi Base64,” Progress. Information, Secur. Comput. Embed. Syst., vol. 2, no. 1, pp. 10–24, 2024, doi: 10.61255/pisces.v2i1.91.
[13] C. C. Lee, “Security and privacy in wireless sensor networks: Advances and challenges,” Sensors (Switzerland), vol. 20, no. 3, pp. 10–12, 2020, doi: 10.3390/s20030744.
[14] T. A. Pamudji, M. T. Kurniawan, and A. Widjajarto, “Mitigasi Serangan Wormhole Pada Teknologi Wireless Sensor Network Menggunakan Protokol Routing AODV Dengan Sistem Shutdown,” J. Rekayasa Sist. Ind., vol. 5, no. 02, p. 94, 2018, doi: 10.25124/jrsi.v5i01.317.
[15] L. Prusty, P. K. Swain, S. Satpathy, and S. Mahapatra, “Comprehensive Review of Security Challenges and Issues in Wireless Sensor Networks Integrated with IoT BT - Explainable IoT Applications: A Demystification,” S. N. Mohanty, S. Satpathy, X. Cheng, and S. K. Pani, Eds., Cham: Springer Nature Switzerland, 2025, pp. 467–485. doi: 10.1007/978-3-031-74885-1_30.
[16] A. N. Nasution, A. Syahfitri, and Z. Indra, “Implementasi Algoritma Kriptografi Modern melalui Google Colab: Studi Kasus AES dan RSA,” J. Multidisiplin Teknol. dan Arsit., vol. 2, no. 2, pp. 841–845, 2024, doi: 10.57235/motekar.v2i2.3949.
[17] M. Zulfikar, T. Imanuddin, N. E. Prastyo, S. A. Firmansyah, and R. A. Alhad, “Analisis Perbandingan Tingkat Kompleksitas Waktu Enkripsi Dan Tingkat Keamanan Enkripsi Pada Algoritma Kriptografi RSA, DES, AES,” J. SITEBA, vol. I, no. 2, pp. 28–39, 2023.
[18] R. K. Abdullah, N. F. Azhar, S. Mujahidin, and R. O. Hoan, “Penerapan Enkripsi Hibrida AES-RSA untuk meningkatkan keamanan layanan Sistem Informasi Distribusi Slip gaji Implementing AES-RSA Hybrid Encryption to Enhance the Security of Salary Slip Distribution Information System,” Jambura J. Electr. Electron. Eng., vol. 7, pp. 33–40, 2025.
[19] N. Mahlake, T. E. Mathonsi, D. Du Plessis, and T. Muchenje, “A Lightweight Encryption Algorithm to Enhance Wireless Sensor Network Security on the Internet of Things,” J. Commun., vol. 18, no. 1, pp. 47–57, 2023, doi: 10.12720/jcm.18.1.47-57.
[20] J. B. Awotunde, A. L. Imoize, Y. Farhaoui, M. K. Abiodun, and A. E. Adeniyi, “Enhanced Lightweight Encryption for Energy Efficiency and Security in Wireless Sensor Networks BT - Intersection of Artificial Intelligence, Data Science, and Cutting-Edge Technologies: From Concepts to Applications in Smart Environment,” Y. Farhaoui, T. Herawan, A. Lucky Imoize, and A. El Allaoui, Eds., Cham: Springer Nature Switzerland, 2025, pp. 572–578.
[21] R. F. Hidayat, S. R. Akbar, and A. Kusyanti, “Implementasi dan Analisa Performansi Protokol Keamanan TinySec pada Wireless Sensor Network dengan Media Pengiriman Data NRF24L01 melalui Frekuensi Radio,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 2, no. 9 SE-, pp. 2858–2865, 2018, [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/2441
[22] K. KumarVG, S. Jeevan Mascarenhas, S. Kumar, and V. J. Rakesh Pais, “Design And Implementation Of Tiny Encryption Algorithm,” J. Eng. Res. Appl. www.ijera.com, vol. 5, no. 2, pp. 94–97, 2015, [Online]. Available: www.ijera.com
[23] S. R. Jondhale, R. Maheswar, and J. Lloret, “Fundamentals of Wireless Sensor Networks BT - Received Signal Strength Based Target Localization and Tracking Using Wireless Sensor Networks,” S. R. Jondhale, R. Maheswar, and J. Lloret, Eds., Cham: Springer International Publishing, 2022, pp. 1–19. doi: 10.1007/978-3-030-74061-0_1.
[24] R. Nizma’urrahmi, A. Kusyanti, and ..., “Implementasi Algoritme SPECK pada Wireless Sensor Network menggunakan Media Pengiriman Data nRF24L01,” … dan Ilmu Komput., vol. 6, no. 5, pp. 2079–2086, 2022.
[25] H. T. Monda, Feriyonika, and P. S. Rudati, “Sistem Pengukuran Daya pada Sensor Node Wireless Sensor Network,” Ind. Res. Work. Natl. Semin., vol. 9, pp. 28–31, 2018.
[26] D. Anggraini, I. D. Irawati, and R. Mayasari, “Analisis Dan Simulasi Wireless Sensor Network (Wsn) Untuk Komunikasi Data Menggunakan Protokol Zigbee Analysis and Simulation of Wireless Sensor Network (Wsn) for Data Communication Using Zigbee Protocol,” J. Aceh Phys. Soc., vol. 7, no. 2, pp. 85–91, 2018.
[27] T. M. Behera et al., “Energy-Efficient Routing Protocols for Wireless Sensor Networks: Architectures, Strategies, and Performance,” Electron., vol. 11, no. 15, 2022, doi: 10.3390/electronics11152282.
[28] R. W. Febrianto and A. Zulianto, “Kriptografi Ringan dengan Menggunakan Algoritma di Internet Of Things (IoT),” J. Informatics Manag. Inf. Technol., vol. 4, no. 3, pp. 81–91, 2024.
[29] F. Tossa, Y. Faga, W. Abdou, E. C. Ezin, and P. Gouton, “Wireless Sensor Network Deployment: Architecture, Objectives, and Methodologies,” Sensors, vol. 25, no. 11, pp. 1–23, 2025, doi: 10.3390/s25113442.
[30] S. Suhag and Aarti, “Challenges and Potential Approaches in Wireless Sensor Network Security,” J. Electr. Eng. Technol., vol. 19, no. 4, pp. 2693–2700, 2024, doi: 10.1007/s42835-023-01751-1.
[31] F. Kuswandi, A. Rukmana, and A. Yanto, “Keamanan Siber Dalam Era Internet of Things: Tantangan Dan Solusi Teknologi Terkini,” Ipsikom, vol. 13, no. 1, pp. 57–62, 2025, doi: 10.58217/ipsikom.v13i1.44.
[32] L. Zhou, M. Kang, and W. Chen, “Lightweight Security Transmission in Wireless Sensor Networks through Information Hiding and Data Flipping,” Sensors, vol. 22, no. 3, 2022, doi: 10.3390/s22030823.
[33] G. G. Putri, W. Setyorini, and R. D. Rahayani, “Analisis Kriptografi Simetris AES dan Kriptografi Asimetris RSA pada Enkripsi Citra Digital,” ETHOS (Jurnal Penelit. dan Pengabdian), vol. 6, no. 2, pp. 197–207, 2018, doi: 10.29313/ethos.v6i2.2909.
[34] D. Alfatah, “Use Of Asymmetric Cryptography In Securing IOT Communication,” J. Komput., vol. 3, no. 1, pp. 19–24, 2024.
[35] I. Radhakrishnan, S. Jadon, and P. B. Honnavalli, “Efficiency and Security Evaluation of Lightweight Cryptographic Algorithms for Resource-Constrained IoT Devices,” Sensors, vol. 24, no. 12, 2024, doi: 10.3390/s24124008.
[36] Y. A. Pratama, A. Setia Budi, and A. Kusyanti, “Implementasi Algoritma Enkripsi Snow-V pada Wireless Sensor Network (WSN),” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 5, no. 10, pp. 4689–4697, 2021, [Online]. Available: http://j-ptiik.ub.ac.id
[37] K. N. Rahardja et al., “Implementasi dan Analisis New Lightweight Cryptographic Algorithm ( NLCA ) pada Perangkat Berdaya Komputasi Rendah,” e-Proceeding Eng., vol. 11, no. 4, pp. 5042–5049, 2024.
[38] A. Sharmila, V. Rishiwal, P. Kumar, M. Yadav, and P. Yadav, “Secure Hybrid Data Transmission Protocol for WSN with Key Management and Message Authentication,” SN Comput. Sci., vol. 6, no. 5, p. 401, 2025, doi: 10.1007/s42979-025-03946-x.
[39] Z. Khudoykulov, “A Comparison of Lightweight Cryptographic Algorithms BT - 12th World Conference ‘Intelligent System for Industrial Automation’ (WCIS-2022),” R. A. Aliev, N. R. Yusupbekov, J. Kacprzyk, W. Pedrycz, M. B. Babanli, F. M. Sadikoglu, and S. M. Turabdjanov, Eds., Cham: Springer Nature Switzerland, 2024, pp. 295–304.
[40] M. Abinaya and S. Prabakeran, “Lightweight Block Cipher for Resource Constrained IoT Environment—An Survey, Performance, Cryptanalysis and Research Challenges BT - IoT Based Control Networks and Intelligent Systems,” P. P. Joby, V. E. Balas, and R. Palanisamy, Eds., Singapore: Springer Nature Singapore, 2023, pp. 347–365.
[41] W. Setyadi and S. N. Neyman, “Pengamanan internet of things menggunakan algoritme simon dan speck untuk layanan kerahasiaan data wawan setyadi,” 2019, [Online]. Available: http://repository.ipb.ac.id/handle/123456789/98098
[42] F. P. E. Putra, U. Ubaidi, A. Zulfikri, G. Arifin, and R. M. Ilhamsyah, “Analysis of Phishing Attack Trends, Impacts and Prevention Methods: Literature Study,” Brill. Res. Artif. Intell., vol. 4, no. 1, pp. 413–421, 2024, doi: 10.47709/brilliance.v4i1.4357.
[43] F. Prasetyo, E. Putra, M. Riski, M. S. Yahya, and M. H. Ramadhan, “Mengenal Teknologi Jaringan Nirkabel Terbaru Teknologi 5G,” J. Sistim Inf. dan Teknol., vol. 5, no. 2, pp. 167–174, 2023, doi: 10.37034/jsisfotek.v5i1.233.
[44] M. Firman Aditya, W. Arfanda, and V. Ndika purnama, “Studi Algoritma Kriptografi Kunci Simetris Pada Keamanan Data Dengan Metode Komparasi,” J. Siteba, vol. 2, no. 1, pp. 7–14, 2023.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 rafael ainur hayat hayat (Penulis)

This work is licensed under a Creative Commons Attribution 4.0 International License.








