Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
Let us generate SHA256 for the following two words: “Hackernoon” and “hackernoon”.
Generating SHA256 for any text is pretty easy with the help of online tools like SHA256 Hash Generator.
SHA256 of “Hackernoon”:SHA256(Hackernoon)SHA256 of “hackernoon”:SHA256(hackernoon)
Above we have calculated SHA256 for the same word, but one of them is in sentence case.
Let us convert the hexadecimal hash into its corresponding decimal number. This conversion can be done pretty easily with a Javascript Web Console.
Decimal value SHA256 of “Hackernoon”Decimal value SHA256 of “hackernoon”
If you observe just by Capitalizing “h” , there is a drastic change in the output.
Small changes in the input causing a drastic change in the output is known as “Avalanche Effect”.
It is very important to understand Avalanche effect since this property of SHA256 is one of the reasons why Satoshi Nakomoto has used it for the underlying cryptography of Bitcoin Blockchain.
In the next article we will have a deep dive into “Hashing Algorithms”. Stay tuned for the updates!
If you have any questions, please feel free to send me an email. You can also contact me via Linkedin.
The Avalanche Effect was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.