Implementasi Transport Layer Security dengan Algoritma AES untuk Meningkatkan Keamanan Komunikasi pada Jaringan IoT Berbasis MQTT Menggunakan ESP32
DOI:
https://doi.org/10.35143/elementer.v11i1.6478Abstract
Data security is a crucial aspect in the era of Industry 4.0, where nearly all technologies are based on the Internet of Things (IoT). According to recent reports, while security advancements in software and hardware computing have shown progress in recent years, the security level of IoT devices remains lagging. To address this issue, this study proposes a solution by securing IoT devices through the implementation of TLS (Transport Layer Security) with the AES algorithm using the MQTT (Message Queuing Telemetry Transport) protocol. This research aims to ensure data integrity during communication and prevent data theft by encrypting transmitted data, rendering it inaccessible to unauthorized parties. The testing was conducted by comparing parameters such as RAM (Random Access Memory) usage, CPU (Central Processing Unit) usage on the ESP32 device, and communication delay. The results show that the TLS implementation resulted in an average remaining RAM of 180,256 bytes out of 520 KB, CPU usage of 0.53% out of 240 MHz, and a communication delay of 0.475 seconds. In comparison, without TLS implementation, the average remaining RAM was 224,825 bytes out of 520 KB, CPU usage was 0.2% out of 240 MHz, and the delay was 0.248 seconds. Based on these findings, the difference in resource usage on the ESP32 before and after implementing TLS is concluded to be not significantly impactful. Keywords: IoT, MQTT, AES, RAM, CPUDownloads
Published
Issue
Section
License
Copyright (c) 2025 Hamid Azwar, Felix Gary

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
a. Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
b. 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 acknowledgement of its initial publication in this journal.
c. 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.

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



