Research Article

Data Integrity Time Optimization of a Blockchain IoT Smart Home Network Using Different Consensus and Hash Algorithms

Table 5

Consensus algorithm execution time using a dataset size of 30 transactions.

Hash lengthAlgorithmTotal storage (bits)CHT (ms)O&E MHT (ms)MHT (ms)MMHT (ms)MMHT/MHT (%)

128 bitsMD538400.050060.461510.459410.2004556.4
RIPEMD-12838400.052770.508150.506050.2436351.9
SHAKE38400.21851.507991.505890.7207652.1
MD238400.443452.73732.73521.1890456.5
160 bitsRIPEMD-16048000.073380.628180.626080.3601242.5
SHA148000.042450.5010.49890.1834163.2
192 bitsTiger57600.054150.53990.53780.2905446.0
256 bitsRIPEMD-25676800.052460.483650.481550.2417949.8
SHA25676800.061990.571510.569410.2504356.0
SHA376800.269251.659811.657710.6600760.2
GOST341176801.187398.269768.267662.895465.0
320 bitsRIPEMD-32096000.076260.702230.700130.3049856.4
384 bitsSHA384115200.042860.487690.485590.3044337.3
512 bitsSHA512153600.045880.468180.466080.2226452.2
Whirlpool153600.379042.645352.643251.110358.0