Skip to main content

How hash cryptography use in blockchain?

Hash cryptography is based on algorithm called SHA(Secure Hash Algorithm) which can be SHA-3,SHA-1,SHA-256 and many more.
Here I am briefing SHA-256 where the data is represented in hexadecimal form which is 64 characters long made up of numbers (0 to 9) and and alphabets (a to f) each 4 bits long.
Basically hash is like a fingerprint means unique.
For example:- a document with hash
    📄--> 0023a76bef63c568  
               67dc128a3fe60a7e
               d47b95a532b60a74
               a62e73f026d957a3
Some properties of hash are-
1- Avalanche effect:- the hash will change with even a single change in document.
2- Deterministic:- the document will always give the same hash.
3:- One way:- one can calculate hash of a document but document can't find using the hash.
4:- Withstand with collision:- no one can have the same hash even when they have the same document otherwise the originality of documents will be lost.

Comments

Popular posts from this blog

How blockchain can impact the people's life?

Technology has a great impact on human life and is meant to make life easier and better, with this notion Web 2.0 made it easy to get the things or products easily either it's within the nation or across the boundaries. But it is failing sometimes to get the assured and authentic ordered item. Many a times the product sold is fake and doesn't show the basic details from using raw material to fine product to shipping to an address. But with using blockchain the problem can be removed as- 1- For people using product They can get to know each detail about the item and can be assured of quality used, process, manufacturing and it is because of using the concept of hashing and securing each step in making the product. It also reduces the cost price of product. 2- For people employed in industry It is seen that the person responsible for your product can be a child doing child labour which is against law. So a child can be saved from it. This is helping the people in becom...

Blockchain for journalism?

In today's world the traditional methods of journalism like newspapers, magazines etc. are loosing their way out and the digital means are becoming a part of lives. People are using their mobile phones, laptops etc. to get to know the news which can be manipulated in someway. This has also created an atmosphere of not trusting the media agencies or news channels even the most respectable or trusting sources and this is happening all around the world. Whether it's a developed nation or a third world country, somehow every country is facing the problem of fake news and this is happening because everyone is given a digital freedom to tamper the news the way they want. So how blockchain can solve this problem. This gives an authority to people to vote to select an author or a media agency which can be trusted to publish the news like we elect our President/Prime Minister(depends on country) and can get to know about world in a clean and better way and save our future generation...