Research Article
An Intelligent, Secure, and Smart Home Automation System
Algorithm 1
Working algorithm of blockchain technology.
(1) | At the first step, a block is created with the help of the block class | (2) | A hash is created using the SHA–256 algorithm on the successful creation of an already created block otherwise repeat step 1 | (3) | After the generation of hash, the next step is to store the blocks | (4) | At the last step, the validity of the blockchain will be accomplished. If the block is valid, then request for connectivity is granted | (5) | If the block is not valid, steps 1 to 4 are repeated |
|