Exchange versus Derivation: Comparing ECC Key Exchange and HMAC-SHA256 Key Derivation for IoMT Key Management on the WUSTL-EHMS-2020 Dataset

  • Sreeja P Department of Computer Engineering, Madhuben and Bhanubhai Patel Institute of Technology (MBIT), The Charutar Vidya Mandal (CVM) University, Faculty of Engineering and Technology (FET), New Vallabh Vidyanagar, Gujarat, India https://orcid.org/0009-0003-3453-7834
  • Priyang P. Bhatt Department of Information Technology, A D Patel Institute of Technology (ADIT), The Charutar Vidya Mandal (CVM) University, Faculty of Engineering and Technology (FET), New Vallabh Vidyanagar, Gujarat, India https://orcid.org/0000-0002-6376-5321
Keywords: Internet of Medical Things Security; AI-Assisted Cryptography; Linguistic Key Generation; AES Encryption; ECC and SHA-256 Comparison; Patient Data Privacy.

Abstract

Background: The Internet of Medical Things (IoMT) transmits patient biometrics over untrusted networks. Yet, key management is costly on resource-constrained devices, and most work on the WUSTL-EHMS-2020 dataset detects attacks after they occur rather than protecting data in transit.

Aims: This study aims to compare two ways of supplying a per-record AES-128 key, elliptic-curve Diffie–Hellman (ECDH) key exchange and keyed HMAC-SHA256 derivation from a pre-shared secret, and to test whether an exploratory KaTaPaYadi–LSTM context-binding stage adds any cryptographic benefit.

Methods: The main contributions are a paired comparison of both mechanisms under an identical AES-128-CBC Encrypt-then-MAC stage, three explicitly defined perturbation protocols for the diffusion metrics, and a tested negative result for the context stage. Using all 16,318 records in software simulation, with NIST P-256 for ECC, the study measured key-establishment cost and throughput, applied equivalence testing (TOST) to entropy, avalanche effect, NPCR and UACI, ran nine tampering conditions, and compared four ablation variants.

Results: Without the LSTM stage, HMAC-SHA256 derivation required 5.5 µs per record, 27.6 times less than a fresh P-256 exchange (152.1 µs) and 1.5 times less than a session-amortised exchange (8.4 µs), with throughput of 5,446.5 versus 540.6 KB/s. The two mechanisms were statistically equivalent on every metric, and all modified, substituted, reordered, truncated and forged records were rejected (16,318 of 16,318 in each class); the context stage, in contrast, changed no measured property but cost about 1,900 times the HMAC step.

Conclusion: These findings indicate that HMAC-SHA256 derivation without the context stage is the lower-cost choice where a secret can be pre-provisioned, whereas ECC remains necessary for first-time pairing; hardware validation is required before clinical use.

Downloads

Download data is not yet available.

References

A. A. Hady, A. Ghubaish, T. Salman, D. Unal, and R. Jain, “Intrusion Detection System for Healthcare Systems Using Medical and Network Data: A Comparison Study,” IEEE Access, vol. 8, pp. 106576–106584, 2020, doi: 10.1109/ACCESS.2020.3000421.

Z. K. Mohammed, M. A. Mohammed, K. H. Abdulkareem, D. A. Zebari, A. Lakhan, H. A. Marhoon, J. Nedoma, and R. Martinek, “A metaverse framework for IoT-based remote patient monitoring and virtual consultations using AES-256 encryption,” Appl. Soft Comput., vol. 158, art. 111588, 2024, doi: 10.1016/j.asoc.2024.111588.

W. Diffie, P. C. van Oorschot, and M. J. Wiener, “Authentication and authenticated key exchanges,” Des. Codes Cryptogr., vol. 2, no. 2, pp. 107–125, 1992, doi: 10.1007/BF00124891.

İ. K. Çekiş, A. Toros, N. Apaydın, and İ. Ozcelik, “Performance comparison of ECC libraries for IoT devices,” Eskişehir Technical University Journal of Science and Technology A – Applied Sciences and Engineering, vol. 25, no. 2, pp. 278–288, 2024, doi: 10.18038/estubtda.1427488.

S. S. Dhanda, S. Kumari, V. Kumar, and S. K. Gupta, “A low-latency 163-bit ECC processor for IoT applications,” J. Electr. Eng., vol. 76, no. 3, pp. 241–255, 2025, doi: 10.2478/jee-2025-0025.

N. G. Zinabu, Y. W. Marye, K. K. Tune, and S. A. Demilew, “Comprehensive Analysis of Lightweight Cryptographic Algorithms for Battery-Limited Internet of Things Devices,” Int. J. Distrib. Sens. Netw., vol. 2025, art. no. 9639728, 2025, doi: 10.1155/dsn/9639728.

K. Kinani, F. Amounas, S. Bendaoud, M. Azrour, and M. Badiy, “New Image Crypto-Compression Scheme Based on ECC and Chaos Theory for High-Speed and Reliable Transmission of Medical Images in the IOMT,” Cybern. Inf. Technol., vol. 24, no. 4, pp. 108–125, 2024, doi: 10.2478/cait-2024-0038.

D. Canavese, L. Mannella, L. Regano, and C. Basile, “Security at the Edge for Resource-Limited IoT Devices,” Sensors, vol. 24, no. 2, art. 590, 2024, doi: 10.3390/s24020590.

B. Gușită, A. A. Anton, C. S. Stângaciu, D. Stănescu, L. I. Găină, and M. V. Micea, “Securing IoT Edge: A Survey on Lightweight Cryptography, Anonymous Routing, and Communication Protocol Enhancements,” Int. J. Inf. Secur., vol. 24, art. 149, 2025, doi: 10.1007/s10207-025-01071-7.

M. Bellare, R. Canetti, and H. Krawczyk, “Keying hash functions for message authentication,” in Advances in Cryptology — CRYPTO ’96, LNCS vol. 1109, 1996, pp. 1–15, doi: 10.1007/3-540-68697-5_1.

N. F. Mufidah and H. H. Nuha, “Performance and Security Analysis of Lightweight Hash Functions in IoT,” Jurnal Informatika: Jurnal Pengembangan IT, vol. 9, no. 3, pp. 264–270, 2024, doi: 10.30591/jpit.v9i3.7633.

I. Baird, I. Wadhaj, B. Ghaleb, C. Thomson, and G. Russell, “Evaluating the Energy Costs of SHA-256 and SHA-3 (KangarooTwelve) in Resource-Constrained IoT Devices,” IoT, vol. 6, no. 3, art. 40, 2025, doi: 10.3390/iot6030040.

T. Alsolami, B. Alsharif, and M. Ilyas, “Enhancing Cybersecurity in Healthcare: Evaluating Ensemble Learning Models for Intrusion Detection in the Internet of Medical Things,” Sensors, vol. 24, no. 18, art. 5937, 2024, doi: 10.3390/s24185937.

M. Alalhareth and S.-C. Hong, “Enhancing the Internet of Medical Things (IoMT) Security with Meta-Learning: A Performance-Driven Approach for Ensemble Intrusion Detection Systems,” Sensors, vol. 24, no. 11, art. 3519, 2024, doi: 10.3390/s24113519.

W. Wu, H. Fouzi, S. Sidi-Mohammed, et al., “Improving cyber-attack detection in Internet of Medical Things using ensemble deep learning methods,” Cluster Comput., vol. 28, art. 891, 2025, doi: 10.1007/s10586-025-05660-y.

S. Garg, K. Kaur, G. Kaddoum, J. J. P. C. Rodrigues, and M. Guizani, “Secure and Lightweight Authentication Scheme for Smart Metering Infrastructure in Smart Grid,” IEEE Trans. Ind. Informat., vol. 16, no. 5, pp. 3548–3557, May 2020, doi: 10.1109/TII.2019.2944880.

D. Guo, K. Cao, J. Xiong, D. Ma, and H. Zhao, “A lightweight key generation scheme for the internet of things,” IEEE Internet Things J., vol. 8, no. 15, pp. 12137–12149, 2021, doi: 10.1109/JIOT.2021.3060438.

A. Sarkar, “A symmetric neural cryptographic key generation scheme for IoT security,” Applied Intelligence, vol. 53, no. 8, pp. 9344–9367, 2023, doi: 10.1007/s10489-022-03904-7.

M. K. Hasan, S. Islam, R. Sulaiman, S. Khan, et al., “Lightweight Encryption Technique to Enhance Medical Image Security on Internet of Medical Things Applications,” IEEE Access, vol. 9, pp. 47731–47742, 2021, doi: 10.1109/ACCESS.2021.3061710.

M. Senthilkumar, K. Suthendran, and V. Ravi, “Enhancing Medical Image Security through a Novel Framework: Crypto-Aware Elliptic Curve Diffie-Hellman with Key Derivation Function (CAECDH-KDF),” Open Bioinform. J., vol. 17, art. e18750362303634, 2024, doi: 10.2174/0118750362303634240624112446.

Y. Alghamdi, A. Munir, and J. Ahmad, “A Lightweight Image Encryption Algorithm Based on Chaotic Map and Random Substitution,” Entropy, vol. 24, no. 10, art. no. 1344, 2022, doi: 10.3390/e24101344.

S. R. Sarma, “The Kaṭapayādi system of numerical notation and its spread outside Kerala,” Revue d’histoire des mathématiques, vol. 18, no. 1, pp. 37–66, 2012, doi: 10.24033/rhm.167.

S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Computation, vol. 9, no. 8, pp. 1735–1780, 1997, doi: 10.1162/neco.1997.9.8.1735.

J. Han, M. Kamber, and J. Pei, Data Mining: Concepts and Techniques , 3rd ed. Waltham, MA, USA: Morgan Kaufmann, 2012, doi: 10.1016/C2009-0-61819-5.

F. A. Gers, J. Schmidhuber, and F. Cummins, “Learning to forget: Continual prediction with LSTM,” Neural Comput., vol. 12, no. 10, pp. 2451–2471, Oct. 2000, doi: 10.1162/089976600300015015.

K. Greff, R. K. Srivastava, J. Koutník, B. R. Steunebrink, and J. Schmidhuber, “LSTM: A Search Space Odyssey,” IEEE Trans. Neural Netw. Learn. Syst., vol. 28, no. 10, pp. 2222–2232, Oct. 2017, doi: 10.1109/TNNLS.2016.2582924.

H. Krawczyk, M. Bellare, and R. Canetti, “HMAC: Keyed-Hashing for Message Authentication,” RFC 2104, Internet Engineering Task Force, Feb. 1997, doi: 10.17487/RFC2104.

National Institute of Standards and Technology, “The Keyed-Hash Message Authentication Code (HMAC),” FIPS PUB 198-1, Gaithersburg, MD, USA, Jul. 2008, doi: 10.6028/NIST.FIPS.198-1.

National Institute of Standards and Technology, “Secure Hash Standard (SHS),” FIPS PUB 180-4, Gaithersburg, MD, USA, Aug. 2015, doi: 10.6028/NIST.FIPS.180-4.

Q. Dang, “Recommendation for Applications Using Approved Hash Algorithms,” NIST Special Publication 800-107 Rev. 1, Gaithersburg, MD, USA, Aug. 2012, doi: 10.6028/NIST.SP.800-107r1.

National Institute of Standards and Technology, “Advanced Encryption Standard (AES),” FIPS 197, 2001, doi: 10.6028/NIST.FIPS.197.

National Institute of Standards and Technology, “Recommendation for Block Cipher Modes of Operation: Methods and Techniques,” NIST SP 800-38A, 2001, doi: 10.6028/NIST.SP.800-38A.

M. Bellare and C. Namprempre, “Authenticated Encryption: Relations among Notions and Analysis of the Generic Composition Paradigm,” in Advances in Cryptology — ASIACRYPT 2000, LNCS vol. 1976, pp. 531–545, 2000, doi: 10.1007/3-540-44448-3_41.

H. Krawczyk, “Cryptographic Extraction and Key Derivation: The HKDF Scheme,” in Advances in Cryptology — CRYPTO 2010, LNCS vol. 6223, pp. 631–648, 2010, doi: 10.1007/978-3-642-14623-7_34.

H. Krawczyk and P. Eronen, “HMAC-based Extract-and-Expand Key Derivation Function (HKDF),” RFC 5869, Internet Engineering Task Force, May 2010, doi: 10.17487/RFC5869.

E. Barker, L. Chen, A. Roginsky, A. Vassilev, and R. Davis, “Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography,” NIST Special Publication 800-56A Rev. 3, Gaithersburg, MD, USA, Apr. 2018, doi: 10.6028/NIST.SP.800-56Ar3.

L. Chen, D. Moody, K. Randall, A. Regenscheid, and A. Robinson, “Recommendations for Discrete Logarithm-Based Cryptography: Elliptic Curve Domain Parameters,” NIST Special Publication 800-186, Gaithersburg, MD, USA, Feb. 2023, doi: 10.6028/NIST.SP.800-186.

E. Barker, “Recommendation for Key Management: Part 1 – General,” NIST Special Publication 800-57 Part 1 Rev. 5, Gaithersburg, MD, USA, May 2020, doi: 10.6028/NIST.SP.800-57pt1r5.

National Institute of Standards and Technology, “Recommendation for Random Number Generation Using Deterministic Random Bit Generators,” NIST SP 800-90A, 2012, doi: 10.6028/NIST.SP.800-90A.

C. E. Shannon, “A Mathematical Theory of Communication,” Bell System Technical Journal, vol. 27, no. 3–4, pp. 379–423, 623–656, 1948, doi: 10.1002/j.1538-7305.1948.tb01338.x.

L. Paninski, “Estimation of Entropy and Mutual Information,” Neural Comput., vol. 15, no. 6, pp. 1191–1253, 2003, doi: 10.1162/089976603321780272.

A. F. Webster and S. E. Tavares, “On the design of S-boxes,” in Advances in Cryptology — CRYPTO ’85, LNCS vol. 218, 1986, pp. 523–534, doi: 10.1007/3-540-39799-X_41.

D. J. Schuirmann, “A comparison of the two one-sided tests procedure and the power approach for assessing the equivalence of average bioavailability,” Journal of Pharmacokinetics and Biopharmaceutics, vol. 15, no. 6, pp. 657–680, 1987, doi: 10.1007/BF01068419.

National Institute of Standards and Technology, “A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications,” NIST SP 800-22 Rev. 1a, 2010, doi: 10.6028/NIST.SP.800-22r1a.

National Institute of Standards and Technology, “Recommendation for the Entropy Sources Used for Random Bit Generation,” NIST SP 800-90B, 2018, doi: 10.6028/NIST.SP.800-90B.

Published
2026-11-26
How to Cite
[1]
S. P and P. P. Bhatt, “Exchange versus Derivation: Comparing ECC Key Exchange and HMAC-SHA256 Key Derivation for IoMT Key Management on the WUSTL-EHMS-2020 Dataset”, j.electron.electromedical.eng.med.inform, vol. 9, no. 1, pp. 110-130, Nov. 2026.
Section
Medical Informatics