Research Article

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

Table 6

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

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

128 bitsMD5384000012.21466183.1979180.5979103.813642.5
RIPEMD-128384000015.93768211.553208.953101.214251.6
SHAKE3840000105.5813823.7975821.1975517.480137.0
MD23840000256.69671635.5361632.9361074.46534.2
160 bitsRIPEMD-160480000027.38025281.9626279.3626168.361639.7
SHA1480000018.12102210.1011207.5011123.171640.6
192 bitsTiger576000014.70333191.2121188.6121110.309441.5
256 bitsRIPEMD-256768000017.44287208.334205.734121.609940.9
SHA256768000023.85505274.2761271.6761160.993140.7
SHA37680000130.8481825.7562823.1562543.726233.9
GOST34117680000512.39873650.1433647.5432337.4735.9
320 bitsRIPEMD-320960000026.5973288.7437286.1437170.969240.3
384 bitsSHA3841152000017.62926249.641247.041142.449842.3
512 bitsSHA5121536000018.74704264.5122261.9122151.003142.3
Whirlpool15360000178.05061251.7311249.131803.916135.6