Understanding working of Blockchain- Hash Function

Hash function is a key component when it comes to Blockchain .

In this session we are going to discuss about cryptographic hash or hash functions in other terms in

Hashfunction is a function which takes an input or message and returns a fixed size alphanumeric string and in technical terms as a function as a mathematical algorithm and maps data of arbitrary size to a string of effect size and in designed to be one way function.

The main algorithms to create hash values are SHA and DSA.

A small change to a message should changes Hash value so extensively that the new Hash value will look completely different from the old value.

For example, Take care = abcd1234 . If the message is Take car, then it is not possible for any person to find the new Hash value from the old value. Encrypting the text will not be possible from any one outside the network.

Application of Hash function in current world is Digital signature, Password encryption, Password genrator etc.

Let us list some of the important properties of cryptographic hash function.

It takes a string as input and It produces a fixed size output.
It is efficiently computed but it is Collution(No two input will share the same hash function) free.

Live Example:
Go to the website: https://andersbrownworth.com/blockchain/hash

This website uses similar SHA key usage of Bit coin which is SHA 256 bit encryption.

Sha Example – 1
Sha Example – 2

All the blockchain will be linked to a key and one key will be linked to another. So in other to find the Genesis key, you need to start from last key to first key parsing though all the keys in-between.

You may also like...

Leave a Reply

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