Algorithm 1 Proposed Algorithm | |||||||||||||||||
Input: In the blockchain, Input “data.” Data can be anything like a word, a line, a paragraph, or multiple paragraphs. data can be transactions of any digital currency. Output: A block created for every set of data. And as a result, a chain of the block is created known as the blockchain. START: FOR EVERY Step 1: Pre-processing: Generate a hash for the data. The hash depends upon the previous hash and the data in the current hash. Initial hash value (ph = 2,3,5,7,11,13,17,19) Now, we compute additional 48 words, totaling the number of words to 64. Here we compute the 10th word ( ). Step 4: Generate a new block with hash values (a, b, c, d, e, f, g, h) for other sets of data. Step 5: The chain of the block created is known as the blockchain. Step 6: TO COMPUTE THE FINAL HASH, RUN THE 64 ITERATIONS OF STEP 4. |