Introduction of Hashing in Blockchain with Example

In this article, we will discuss Hashing in Blockchain. There are some major factors in Blockchain framework. We will discuss them one by one in future articles. We are starting with a very basic and easy topic, later we will look for more complex parts in the Blockchain framework.

To get a hash value, you start with a bit of data and pass it through a hashing function. The hashing function maps a group of that data to a unique hash value. It will take in the information you give it and create a completely uniquely hash value.

This hash value now acts as a unique identifier for the original data. This allows you to identify a given set of data much more easily by referencing its hash value.

SHA256 is a specific hashing function. SHA stands for Secure Hashing Algorithm and 256 represents the output of the algorithm. It tells us that the number you will get back as a hash value is a 256 number.

Introduction of Hashing in Blockchain with Example

There are many different hashing functions. As you know, Bitcoin’s underlying technology is Blockchain. Blockchain technology first introduced and emerged with the Bitcoin. A concept called, Time-Stamp a Digital Document was in discussion before. Bitcoin uses SHA256 to create a unique hash value for each block on the Blockchain.

The reason for this is to create a unique identifier for each block that exists on the chain. This allows us to do some cool things like references are blocked by its hash value. It even creates a foundation from which we can join blocks together into a chain.

Now that you have some idea of how hash values work, let’s go through a simple demonstration. Here is a website that allows you to experiment with ideas like hash values, blocks, and more.

Go to anders. Type any text into the Data field and you will see changes in Hash value even if you add or remove space or any text. If you back to the original text, the hash value will be the same again.

In future articles, we will understand Blockchain in deep.

Admin

Tutorial Funda will keep you updated with the latest Programming Languages, Software Tools and related technologies used in Software Development.

Leave a Reply

Your email address will not be published. Required fields are marked *