Enhancing IoT Data Security: AES Encryption for Protecting Data in Transit- A Case Study in Smart Agriculture
Main Article Content
Abstract
The integration of IoT in smart agriculture facilitates real-time environmental monitoring and efficient farming operations. However, the sensitive nature of data in transit presents significant security challenges, primarily due to threats like data interception and unauthorized access. This study explores the implementation of AES-128 encryption as a solution to secure data transmission within a smart agriculture IoT system. Utilizing NodeMCU microcontrollers with DHT22 sensors, this research investigates the encryption and decryption of environmental data (temperature and humidity) through the MQTT protocol, with Node-RED providing data visualization. Experimental results indicate that AES-128 encryption adds minimal overhead, maintaining real-time system performance while safeguarding data integrity and confidentiality. This encryption framework not only reinforces secure data transmission but also enhances decision-making reliability in agricultural management, underscoring the practical benefits of data security in IoT-based smart farming.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- 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.
- 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.
- 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