DMSA-Based Secure IoT Communication System Using ESP32 and DHT11 Sensor
DOI:
https://doi.org/10.65496/jcste.2026.113Abstract
The rapid expansion of Internet of Things (IoT) systems has increased the need for secure real-time sensor communication. However, many lightweight IoT devices suffer from limited security due to low computational resources. This research proposes a lightweight secure IoT communication framework using ESP32 and DHT11 sensors integrated with a custom Dynamic Matrix Shift Algorithm (DMSA). The system collects real-time temperature and humidity data from the DHT11 sensor through ESP32 and securely transmits the data between sender and receiver applications. The proposed DMSA performs multiple encryption stages including ASCII conversion, binary transformation, matrix generation, row shifting, column swapping, and binary rotation to generate encrypted cipher text. The receiver application applies reverse DMSA operations to recover the original sensor data. Experimental implementation demonstrates that the proposed system successfully secures real-time IoT sensor communication while maintaining low computational complexity suitable for lightweight embedded systems.
Downloads
References
[1] M. Rana, Q. Mamun, and R. Islam, “Lightweight cryptography in IoT networks: A survey,” Future Generation Computer Systems, vol. 129, pp. 77–89, 2022, doi: 10.1016/j.future.2021.11.011.
[2] Y. Zhong and J. Gu, “Lightweight block ciphers for resource-constrained environments: A comprehensive survey,” Future Generation Computer Systems, vol. 157, 2024, doi: 10.1016/j.future.2024.03.054.
[3] 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, p. 4008, 2024, doi: 10.3390/s24124008.
[4] F. Alcaraz-Velasco, J. M. Palomares, and J. Olivares, “GS3: A Lightweight Method of Generating Data Blocks With Shuffling, Scrambling, and Substituting Data for Constrained IoT Devices,” IEEE Internet of Things Journal, vol. 11, no. 15, pp. 25782–25801, 2024, doi: 10.1109/JIOT.2024.3395543.
[5] S. A. Ansari and S. Ali, “A systematic review of lightweight cryptographic schemes for security and privacy in IoT,” Discover Computing, vol. 28, art. no. 266, 2025, doi: 10.1007/s10791-025-09755-3.
[6] Y. Zhong and J. Gu, “Lightweight block ciphers for resource-constrained environments: A comprehensive survey,” Future Generation Computer Systems, vol. 157, 2024, doi: 10.1016/j.future.2024.03.054.
[7] 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, p. 4008, 2024, doi: 10.3390/s24124008.
[8] F. Alcaraz-Velasco, J. M. Palomares, and J. Olivares, “GS3: A Lightweight Method of Generating Data Blocks With Shuffling, Scrambling, and Substituting Data for Constrained IoT Devices,” IEEE Internet of Things Journal, vol. 11, no. 15, pp. 25782–25801, 2024, doi: 10.1109/JIOT.2024.3395543.
[9] S. A. Ansari and S. Ali, “A systematic review of lightweight cryptographic schemes for security and privacy in IoT,” Discover Computing, vol. 28, art. no. 266, 2025, doi: 10.1007/s10791-025-09755-3.
[10] B. Gușiță et al., “Securing IoT edge: a survey on lightweight cryptography, anonymous routing and communication protocol enhancements,” International Journal of Information Security, vol. 24, art. no. 149, 2025, doi: 10.1007/s10207-025-01071-7.










