# Secure Data of Industrial Internet of Things in a Cement Factory Based on a Blockchain Technology
## 7 Comparative Performance Analysis  
Most the recent studies have focused on the features of the blockchain in the field of data storage, and have not dealt with the other features of blockchain technology regard to an industrial environment. They have also not provided a clear method for protecting the sensor data on the devices [14; 19; 20; 21; 22]. In view of this, we propose a trusted, lightweight, low power, high-performance and secure communication network for a cement plant as an industrial environment. Our approach ensures the protection of the data transferred between peers, even outside the blockchain network, through the integration of the blockchain with IIoT. Since the blockchain operates based on asymmetric key cryptography, we can achieve security of information, protection of user identities, and guaranteed transactions. Our architecture successfully achieves trust for all network operations and components, meaning that security and transparency can be ensured at all levels of the cement industry. Table 3 shows a comparison of various methods in the literature in terms of the consensus mechanism used, the blockchain platform, the cryptographic scheme, hardware dependency, energy efficiency, and speed. The first criterion in our comparison is the consensus mechanism through which new transactions are authenticated and added to the blockchain network. Due to the use of resource-constrained devices in IoTs and the associated scalability issues, the consensus mechanism must be lightweight. The authors of [18] used identity-based signature (IBS), and the authors of [14; 20] used PoW in their work, while the authors of [19] used PoC. In [21] PBFT used in their scheme, while in [22] delegate PoS adopted as shown in Table 3, most of these traditional consensus mechanisms are not compatible with resource-constrained devices. For example, the PoW algorithm has higher energy requirements than PoS, PoC and PoA, although none of these approaches is suitable for low-power computational devices. In our scheme, we used PoAh as a consensus algorithm, which has the lowest energy consumption for block authentication. PoAh is based on a cryptographic authentication scheme that makes it faster than other consensus algorithms, which designed to reduce the latency and energy consumption for each transaction. In addition, its specialized to resource-constraint IoTs nodes [10; 11; 26; 30]. The second criterion, the use of an open-source platform, is used in most schemes, which can provide an appropriate quality of service, however, an open-source platform fully depends on a third party (central authority). In general, external dependency can lead to many kinds of security and computational issues, such as single point of failure, bottleneck problems, and slow execution for the whole of the network activities due to an increase in the mutual authentication messages between the internal network and the trusted authority; this dramatically increases the network's component power consumption. Our scheme is designed to work based on a private blockchain network; participants must be pre-registered in the network to be an authorized user or device. This makes it more feasible for use in industrial applications and eliminates the need for third-party services, with its related problems.