Research Article

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

Table 7

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

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

128 bitsMD53840001.9412334.9261534.1061522.1116135.2
RIPEMD-1283840002.9348944.1606643.3406620.6591452.3
SHAKE38400018.99856152.072151.25218.7851187.6
MD238400047.86639329.0667328.246720.3212193.8
160 bitsRIPEMD-1604800004.6991854.7941653.9741618.9251364.9
SHA14800003.5311838.4290937.6090919.8773247.1
192 bitsTiger5760002.332729.4364428.6164419.4720232.0
256 bitsRIPEMD-2567680003.4901938.8496638.0296617.2685654.6
SHA2567680004.2639548.4568647.6368618.6377160.9
SHA376800025.84644161.3161160.496120.679287.1
GOST341176800084.64851652.9856652.165619.3932697.0
320 bitsRIPEMD-3209600005.2781845.6679644.8479618.7290258.2
384 bitsSHA38411520003.2407244.0639843.2439821.0173551.4
512 bitsSHA51215360002.9454446.230145.410119.6445656.7
Whirlpool153600031.0449237.9127237.092718.4089492.2