Securing IoT in industry 4.0 applications with blockchain. (2021)