Security and Performance Analysis of PRESENT, SPECK, and ASCON Lightweight Cryptographic Algorithms in MQTT-Based IoT Environments
DOI:
https://doi.org/10.30871/jaic.v10i4.13189Keywords:
ASCON, Lightweight Cryptography, MQTT, PRESENT, SPECKAbstract
The rapid growth of the Internet of Things (IoT) has increased the demand for lightweight cryptographic algorithms capable of providing adequate security while maintaining low computational overhead on resource-constrained devices. This study aims to analyze and compare the ASCON, PRESENT, and SPECK algorithms in MQTT-based IoT environments using the MQTT-IoT-IDS2020 dataset as a source of communication payloads. The evaluation was conducted using a Python-based framework with security and randomness metrics, including Avalanche Effect, Strict Avalanche Criterion (SAC), Bit Independence Criterion (BIC), Shannon Entropy, Approximate Entropy, Hamming Distance, Monobit Test, and Runs Test. Performance was evaluated using execution time, throughput, memory usage, and CPU usage. The validity of the results was strengthened through statistical analysis using 95% confidence intervals, One-Way ANOVA, and Tukey HSD. The results indicate that all three algorithms exhibit strong diffusion and randomness characteristics, with Avalanche Effect values close to the ideal value of 50% and ciphertext randomness metrics that satisfy the applied statistical tests. SPECK achieved the best performance with an execution time of 0.000238 seconds and a throughput of 2,199,891 bits/s, while PRESENT demonstrated the lowest memory consumption at 2.85 KB. Based on the calculated Security Score and Efficiency Score, PRESENT achieved the highest Security Score of 0.692, while SPECK achieved the highest Efficiency Score of 0.993, respectively. Statistical analysis revealed that significant differences among the algorithms primarily occurred in diffusion-related and computational performance metrics. Therefore, within the scope of the evaluated diffusion, randomness, and performance metrics, SPECK provides the most favorable balance between security-related characteristics and computational efficiency among the evaluated algorithms for MQTT-based IoT environments.
Downloads
References
[1] Iqbal R, Ansari NM, Awan M ur R, Ismail M, Gul H. Design and Evaluation of Lightweight Cryptographic Algorithms for Internet of Things (IoT) Devices: Achieving Optimal Trade-Offs Between Security, Computational Speed, and Energy Efficiency in Resource-Constrained Environments. THE PROGRESS: A Journal of Multidisciplinary Studies 2025;6:85–99. https://doi.org/10.71016/tp/smfybz24.
[2] K. Aruna Kumari. Cryptographic Algorithms and Computational Complexity: A Mathematical Approach to Securing IT Networks. Journal of Information Systems Engineering and Management 2025;10:409–20. https://doi.org/10.52783/jisem.v10i25s.4037.
[3] Turan MS, McKay KA, Chang D, Kang J, Kelsey J. Ascon-based lightweight cryptography standards for constrained devices : 2025. https://doi.org/10.6028/NIST.SP.800-232.
[4] Loke SV. Evaluation of Lightweight Cryptography Algorithms of National Institute of Standards and Technology: Structural Design, Security Assessment and Implementation Performance. 2025 IEEE International Conference on Computation, Big-Data and Engineering (ICCBE), IEEE; 2025, p. 502–7. https://doi.org/10.1109/ICCBE65177.2025.11256020.
[5] Dwivedi AD, Morawiecki P, Srivastava G. Differential Cryptanalysis of Round-Reduced SPECK Suitable for Internet of Things Devices. IEEE Access 2019;7:16476–86. https://doi.org/10.1109/ACCESS.2019.2894337.
[6] Alharbi S, Awad W, Bell D. HECS4MQTT: A Multi-Layer Security Framework for Lightweight and Robust Encryption in Healthcare IoT Communications. Future Internet 2025;17:298. https://doi.org/10.3390/fi17070298.
[7] Voloshyn V, Khan MS, Srivastava G, M D. Analysis of NIST Lightweight Cryptographic Algorithms Performance in IoT Security Environments based on MQTT. 2024 IEEE Wireless Communications and Networking Conference (WCNC), IEEE; 2024, p. 1–6. https://doi.org/10.1109/WCNC57260.2024.10571199.
[8] Abughazalah N, Khan M, Iqbal M. Hybrid multi-criteria decision-making technique for the selection of best cryptographic multivalued Boolean function. Complex & Intelligent Systems 2024;10:455–68. https://doi.org/10.1007/s40747-023-01150-z.
[9] Chatterjee R, Chakraborty R. NFBC: an efficient FPGA based NFSR-oriented lightweight block cipher suitable for embedded system. Sci Rep 2026;16:3651. https://doi.org/10.1038/s41598-025-33692-2.
[10] Mohamed K, Pauzi MNM, Ali FHHM, Ariffin S. Analyse On Avalanche Effect In Cryptography Algorithm, 2022, p. 610–8. https://doi.org/10.15405/epms.2022.10.57.
[11] Yavuzyiğit AE, Yayla O. Random Data and Its Cryptographic Applications, 2026, p. 140–55. https://doi.org/10.1007/978-3-032-10759-6_9.
[12] Pallangan JTK, Wowor AD. Identifikasi Nilai Keacakan Berdasarkan Reposisi Fungsi XOR Pada Blok Kedua LFSR A5/1. Journal of Information System Research (JOSH) 2024;6:679–87. https://doi.org/10.47065/josh.v6i1.6112.
[13] Radhakrishnan I, Jadon S, Honnavalli PB. Efficiency and Security Evaluation of Lightweight Cryptographic Algorithms for Resource-Constrained IoT Devices. Sensors 2024;24:4008. https://doi.org/10.3390/s24124008.
[14] Gladis Kurian M, Chen Y. The Untapped Potential of Ascon Hash Functions: Benchmarking, Hardware Profiling, and Application Insights for Secure IoT and Blockchain Systems. Sensors 2025;25:5936. https://doi.org/10.3390/s25195936.
[15] Mema A, Thomann S, Genssler PR, Amrouch H. FDSOI-Based Analog Computing for Ultra-Efficient Hamming Distance Similarity Calculation. IEEE Transactions on Circuits and Systems I: Regular Papers 2023;70:2679–88. https://doi.org/10.1109/TCSI.2023.3267837.
[16] Banu Y, Rath BK, Gountia D. Analyzing cryptographic algorithm efficiency with in graph-based encryption models. Front Comput Sci 2025;7. https://doi.org/10.3389/fcomp.2025.1630222.
[17] Agbangba CE, Sacla Aide E, Honfo H, Glèlè Kakai R. On the use of post-hoc tests in environmental and biological sciences: A critical review. Heliyon 2024;10:e25131. https://doi.org/10.1016/j.heliyon.2024.e25131.
[18] Nanda A, Mohapatra DrBB, Mahapatra APK, Mahapatra APK, Mahapatra APK. Multiple comparison test by Tukey’s honestly significant difference (HSD): Do the confident level control type I error. International Journal of Statistics and Applied Mathematics 2021;6:59–65. https://doi.org/10.22271/maths.2021.v6.i1a.636.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 I Wayan Rangga Pinastawa, Susanto Susanto, Khoironi Khoironi

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 (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) 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 (See The Effect of Open Access).








