## 4 Experimental Results and Analysis
In contrast, MPD and HPD devices show improved efficiency in key exchange, with lower latency and higher scalability, further validating the applicability of the proposed ECC-based model for IoT security. \begin{table}
\begin{tabular}{p{56.9 pt} p{56.9 pt} p{56.9 pt} p{56.9 pt} p{56.9 pt}} \hline \hline
**Device** & \begin{tabular}{c} **Key** \\ **Generation** \\ **(ms)** \\ \end{tabular} & \begin{tabular}{c} **Key Exchange** \\ **Time (ms)** \\ \end{tabular} & \
\begin{tabular}{c} **Power** \\ **Consumption** \\ **Time (mW)** \\ \end{tabular} &
\begin{tabular}{c} **Memory** \\ **Occupied (kB)** \\ \end{tabular} \\ \hline LPD & 45 & 120 & 5 & 2 \\ \hline MPD & 30 & 80 & 10 & 5 \\ \hline HPD & 15 & 40 & 20 & 10 \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Experimental results. \begin{table}
\begin{tabular}{p{56.9 pt} p{56.9 pt} p{56.9 pt} p{56.9 pt} p{56.9 pt}} \hline \hline
**Method** & \begin{tabular}{c} **Key** \\ **Exchange** \\ **(ms)** \\ \end{tabular} & \begin{tabular}{c} **Power** \\ **Consumption** \\ **(mW)** \\ \end{tabular} & \
\begin{tabular}{c} **Security** \\ **Scalability** \\ \end{tabular} &
\begin{tabular}{c} **IoT** \\ **Applicability** \\ \end{tabular} \\ \hline
1024b RSA & 517 & 26 & Medium & Low & Very Low \\ \hline
1024b DH & 280 & 17 & Medium & Medium & Moderate \\ \hline ECC proposed model & 96 & 11 & High & High & Excellent \\ \hline \hline \end{tabular}
\end{table} 
Table 2: Comparative results. In this regard, Table 2 provides a comprehensive comparison of the performance metrics of the proposed ECC-based framework against conventional cryptographic methods such as RSA and Diffie-Hellman. The results clearly indicate that the ECC-based approach demonstrates superior efficiency and scalability, making it particularly suitable for IoT environments characterized by resource-constrained devices. Traditional cryptographic techniques, such as RSA and Diffie-Hellman, have been widely employed in network security; however, their applicability in IoT networks is limited due to computational overhead and scalability challenges. Specifically, RSA relies on large key sizes to maintain security, which significantly increases computational complexity and energy consumption. These requirements are often impractical for low-power IoT devices with limited processing capabilities and battery life. Similarly, while Diffie-Hellman offers a more lightweight alternative to RSA, it still encounters significant scalability challenges when implemented in heterogeneous IoT networks. The computational demands associated with secure key exchange using Diffie-Hellman increase as the number of connected devices grows, thereby posing a limitation for large-scale IoT deployments. In contrast, the proposed ECC-based framework achieves a more efficient balance between security and resource utilization by leveraging the mathematical properties of elliptic curves. This enables the generation of cryptographic keys with significantly smaller sizes while maintaining robust security levels. As a result, ECC reduces energy consumption and processing time, thereby enhancing the feasibility of secure communication in diverse IoT architectures. Table 3 provides a comparative overview of key cryptographic parameters for the three types of devices used in the experiments: low-power devices (LPD), medium-power devices (MPD), and high-power devices (HPD). Despite the differences in computational capabilities, the proposed ECC-based model ensures uniform public and private key sizes of 160 bits, which is sufficient to provide a high-security level equivalent to 2048-bit RSA. However, key generation and encryption times vary across devices due to differences in processing power, as reflected in the table. Similarly, energy consumption decreases significantly for higher-power devices, demonstrating the model's adaptability and scalability.