# Utilizing Blockchain for IoT Privacy through Enhanced ECIES with Secure Hash Function
## 3 Modified ECIES with Secure Hash Function
\begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline
**Sample** & \multicolumn{2}{c}{**Encrypted Request Transaction Samples from [PERSON] et al. [14]**} & \multicolumn{2}{c}{**Encrypted Request Transaction Samples—Proposed Scheme**} \\ \hline
**Device_ID** & **Constructed Request Transaction** & **Encrypted Transaction** & **Constructed Request Transaction** & **Encrypted Transaction** & **Encrypted Transaction** \\ \hline
5c5042863 & 011 pkl 15c0428631 1 & nMgruzzzlapp & 0.3451 & 10



\begin{table}
\begin{tabular}{c c c c c c c c c c} \hline \hline
**S.** & \begin{tabular}{c} **Device.** \\ **Type** \\ **Samples** \\ \end{tabular}  & \begin{tabular}{c} **Constructed** \\ **Respect** \\ **Transaction** \\ \end{tabular}  & \begin{tabular}{c} **[PERSON] et al. [14]** \\ **(Conditional Time Comparison of [PERSON] et al. [14]** \\ \end{tabular}  & \ \begin{tabular}{c} **Proposed Scheme** \\ **Conditional** \\ \end{tabular}  & \begin{tabular}{c} **Conditional** \\ **Time loss** \\ \end{tabular}  \\ \hline
1 & RX330 & 011 \(\parallel\)1 \(\parallel\)1 \(\parallel\)1 \(\parallel\)0 \(\parallel\)0 \(\parallel\)1 \(\parallel\)0 \(\parallel \begin{table}
\begin{tabular}{c c c c c c c}  & & & & **[PERSON] et al.**[14] & \multicolumn{2}{c}{**Proposed Scheme**} \\ \cline{3-6}
**Dataset** & **Samples** & **No. of** & **Average** & **Average** & **Average** & **Average** & **Average** \\  & & **Tests Taken** & **Correlation** & **Computation** & **Correlation** & **Computation** & **Computation** \\  & & & **Coefficient** & **Time (ms)** & **Coefficient** & **Time (ms)** \\ \hline
50-Device Group Set & Device\_ID & 10 & 0.34499 & 102.733 & 0.30122 & 95.48 \\ \hline
150-Device Group Set & Device\_Type & 10 & 0.34711 & 98.967 & 0.30306 & 92.447 \\ \hline
250-Device Group Set & Device\_Model & 10 & 0.34853 & 105.68 & 0.30359 & 98.745 \\ \hline
500-Device Group Set & Device\_SN & 10 & 0.34433 & 103.766 & 0.30089 & 98.615 \\ \end{tabular}
\end{table} 
Table 6: Average Correlation Coefficient and Average Computation Time Results of [PERSON] et al. [14] and Proposed Scheme (from tested samples). \begin{table}
\begin{tabular}{c c c c c c c c}  & & & & **[PERSON] et al.**[14] & \multicolumn{2}{c}{**Proposed Scheme**} \\ \cline{3-6}
**S.** & **Device\_** & **SN** & **No. of** & **Average** & **Average** & **Average** & **Average** \\  & & **Tests Taken** & **Correlation** & **Computation** & **Correlation** & **Computation** & **Correlation** & **Computation** \\  & & & **Coefficient** & **Time (ms)** & **Coefficient** & **Time (ms)** & **Coefficient** & **Time (ms)** \\ \hline
50-Device Group Set & Device\_ID & 10 & 0.34499 & 102.733 & 0.30122 & 95.48 \\ \hline
150-Device Group Set & Device\_Type & 10 & 0.34711 & 98.967 & 0.30306 & 92.447 \\ \hline
250-Device Group Set & Device\_Model & 10 & 0.34853 & 105.68 & 0.30359 & 98.745 \\ \hline
500-Device Group Set & Device\_SN & 10 & 0.34433 & 103.766 & 0.30089 & 98.615 \\ \end{tabular}
\end{table} 
Table 5: Correlation Coefficient and Computation Time Comparison of [PERSON] et al. [14] and Proposed Solutions—Device Serial Number Samples. Figure 4 shows the average computation time results for both the proposed scheme and for [PERSON] et al. [14] by calculating the execution time for each sample. The blue color indicates the results for [PERSON] et al. [14], and the dark orange color indicates the result for the proposed solution. The paired blue-orange bars represent the average computation time for the 50-, 150-, 250-, and 500- device groupsets with the attributes device_ID, device_Type, device_Model, and device_SN, respectively. * The average computation time for the proposed scheme of the device_ID samples of the 50-device group dataset is reduced to 95.48 ms, whereas it is 102.733 ms for [PERSON] et al. [14];
* The average computation time for device_Type samples of 150-device group dataset is reduced to 92.447 ms compared to 98.967 ms of [PERSON] et al.