The rapid proliferation of Internet of Things (IoT) devices in healthcare systems has introduced critical security challenges, particularly in resource-constrained environments typical of African healthcare infrastructures. Traditional cryptographic solutions impose prohibitive computational overhead on low-power medical IoT devices. This paper proposes an AI-driven adaptive cryptography framework capable of dynamically selecting between the lightweight encryption algorithms RECTANGLE and ASCON based on data sensitivity, network conditions, and real-time geolocation. We trained a Random Forest classifier on the MedMC-QA medical dataset to automatically classify healthcare data sensitivity into three categories (HIGH, MEDIUM, LOW), achieving an accuracy of 92.4% ± 1.2% (95% CI) after 5-fold cross-validation. Experimental evaluation across three deployment scenarios (hospital, home, and rural area) in Douala, Cameroon, demonstrated average encryption times of 52.33 ms while ensuring robust security for sensitive medical data. Statistical analysis revealed significant performance variations across contexts (ANOVA, p = 0.007), highlighting the need for contextual adaptation. The proposed framework constitutes a practical and scalable solution for securing IoT healthcare systems in resource-constrained environments, while ensuring compliance with medical data protection requirements.
References
[1]
Riazul Islam, S.M., Kwak, D., Humaun Kabir, M., Hossain, M. and Kyung-Sup Kwak, (2015) The Internet of Things for Health Care: A Comprehensive Survey. IEEEAccess, 3, 678-708. https://doi.org/10.1109/access.2015.2437951
[2]
Dimitrov, D.V. (2016) Medical Internet of Things and Big Data in Healthcare. HealthcareInformaticsResearch, 22, 156-163. https://doi.org/10.4258/hir.2016.22.3.156
[3]
Rana, M., Mamun, Q. and Islam, R. (2022) Lightweight Cryptography in IoT Networks: A Survey. FutureGenerationComputerSystems, 129, 77-89. https://doi.org/10.1016/j.future.2021.11.011
[4]
de Matos, E., Viegas, E., Tiburski, R. and Hessel, F. (2023) Context-aware Security in the Internet of Things: A Review. In: Barolli, L., Ed., Advanced Information Networking and Applications, Springer, 518-531. https://doi.org/10.1007/978-3-031-28694-0_49
[5]
Hatzivasilis, G., Fysarakis, K., Papaefstathiou, I. and Manifavas, C. (2018) A Review of Lightweight Block Ciphers. Journal of Cryptographic Engineering, 8, 141-184.
[6]
Dobraunig, C., Eichlseder, M., Mendel, F. and Schläffer, M. (2021) Ascon V1.2: Lightweight Authenticated Encryption and Hashing. JournalofCryptology, 34, Article No. 33. https://doi.org/10.1007/s00145-021-09398-9
[7]
Pradhan, B., Bhattacharyya, S. and Pal, K. (2021) IoT-Based Applications in Healthcare Devices. JournalofHealthcareEngineering, 2021, Article ID: 6632599. https://doi.org/10.1155/2021/6632599
[8]
Alam, M.Z., Rahman, M.S. and Rahman, M.S. (2019) A Random Forest Based Predictor for Medical Data Classification Using Feature Ranking. InformaticsinMedicineUnlocked, 15, Article ID: 100180. https://doi.org/10.1016/j.imu.2019.100180
[9]
Zhang, W., Bao, Z., Lin, D., Rijmen, V., Yang, B. and Verbauwhede, I. (2015) RECTANGLE: A Bit-Slice Lightweight Block Cipher Suitable for Multiple Platforms. ScienceChinaInformationSciences, 58, 1-15. https://doi.org/10.1007/s11432-015-5459-7
[10]
Harbi, Y., Aliouat, Z., Refoufi, A. and Harous, S. (2021) Recent Security Trends in Internet of Things: A Comprehensive Survey. IEEEAccess, 9, 113292-113314. https://doi.org/10.1109/access.2021.3103725
[11]
National Institute of Standards and Technology (NIST) (2023) NIST Selects Lightweight Cryptography Algorithms to Protect Small Devices.
[12]
Pal, A., Umapathi, L.K. and Sankarasubbu, M. (2022) MedMCQA: A Large-Scale Multi-Subject Multi-Choice Dataset for Medical Domain Question Answering. Proceedings of Machine Learning Research, 174, 248-260.
[13]
Pedregosa, F., et al. (2011) Scikit-Learn: Machine Learning in Python. Journal of Machine Learning Research, 12, 2825-2830.
[14]
Rasheed, A.M. and Kumar, R.M.S. (2025) Efficient Lightweight Cryptographic Solutions for Enhancing Data Security in Healthcare Systems Based on IoT. FrontiersinComputerScience, 7, Article 1522184. https://doi.org/10.3389/fcomp.2025.1522184
[15]
Inshi, S., Chowdhury, R., Ould-Slimane, H. and Talhi, C. (2023) Secure Adaptive Context-Aware ABE for Smart Environments. IoT, 4, 112-130. https://www.mdpi.com/2624-831X/4/2/7
[16]
Babenko, V., Nastenko, I., Pavlov, V., Horodetska, O., Dykan, I., Tarasiuk, B., et al. (2023) Classification of Pathologies on Medical Images Using the Algorithm of Random Forest of Optimal-Complexity Trees. CyberneticsandSystemsAnalysis, 59, 346-358. https://doi.org/10.1007/s10559-023-00569-z
[17]
Thakor, V.A., Razzaque, M.A. and Khandaker, M.R.A. (2021) Lightweight Cryptography Algorithms for Resource-Constrained IoT Devices: A Review, Comparison and Research Opportunities. IEEEAccess, 9, 28177-28193. https://doi.org/10.1109/access.2021.3052867
[18]
Wallace, M.L., et al. (2023) Use and Misuse of Random Forest Variable Importance Metrics in Medicine: Demonstrations through Incident Stroke Prediction. BMC Medical Research Methodology, 23, Article No. 144.
[19]
Kenya Ministry of Health (2023) Digital Health Governance Framework: Towards Regulated, Ethical and Sustainable Digital Health for Africa—Lessons from Kenya’s Digital Health Bill 2023.
Hussain, F., Hussain, R., Hassan, S.A. and Hossain, E. (2020) Machine Learning in IoT Security: Current Solutions and Future Challenges. IEEECommunicationsSurveys&Tutorials, 22, 1686-1721. https://doi.org/10.1109/comst.2020.2986444
[22]
Chicco, D. and Jurman, G. (2020) The Advantages of the Matthews Correlation Coefficient (MCC) over F1 Score and Accuracy in Binary Classification Evaluation. BMCGenomics, 21, Article No. 6. https://doi.org/10.1186/s12864-019-6413-7
[23]
Sadhu, P.K., Yanambaka, V.P. and Abdelgawad, A. (2022) Internet of Things: Security and Solutions Survey. Sensors, 22, Article 7433. https://doi.org/10.3390/s22197433
[24]
Chinbat, T., Madanian, S., Airehrour, D. and Hassandoust, F. (2024) Machine Learning Cryptography Methods for Iot in Healthcare. BMCMedicalInformaticsandDecisionMaking, 24, Article No. 153. https://doi.org/10.1186/s12911-024-02548-6
[25]
Cameroon Ministry of Digital Economy (2010) Loi n° 2010/012 du 21 décembre 2010 relative à la cybersécurité et à la cybercriminalité au Cameroun. Official Gazette of the Republic of Cameroon.