- Secure Hash Algorithm (SHA-251)
- The chances of generating the correct output is almost impossible, one needs a high amount of hashing power in order to remotely get within the acceptable range of outputs
1.SHA-256
2. Beacuse there are 2^256 different combinations
SHA 256
It is so hard mathematical to reverse. Imagine a blender. If you but ingredients in you know all
the different foods. Once you blent it it is still
The same ingredients but you cannot recognize the different foods anymore.
What is the hashing algorithm called used in Bitcoin?
The hashing algorithm used by Bitcoin is called SHA 256 and SHA means (Secure Hash Algoritme) 256, which means that it consists of 256 bits or 256 * 8 bytes or 2048 bits. An algorithm represents a series of operational calculations whereas hashing makes it possible to condense a text, a code by a series of characters shorter than what this series represents. Finally, this algorithm was initially invented by the NSA, which can raise some questions about the origin of Bitcoin and more precisely guide us on the journey of the creator (s) of it that we associate with a unique individual under the pseudonym of Satoshi Nakamoto.
According to the bitcoin.fr website: "
was initially invented by the NSA which may question the origin of BTC or even the journey of its creator (s).
Why is this hashing algorithm really hard (almost impossible) to brute-force?
To answer this question I will refer to this link: https://bitcoin.fr/linformatique-quantique-une-menace-pour-bitcoin/
and more particularly to two quotes from this link which define the answer much better than I can do:
[1] “The second law of thermodynamics implies that information, whatever it is, requires energy to be simply represented […] Go through the possible values of a 256-bit key such as that of a signing bitcoin would therefore require energy from the sun for at least 400,000,000,000,000,000,000 years… ”- Pierre Noizat.
“Brute force attacks on 256-bit keys will remain impractical until computers are built with something other than matter and occupy something other than space. - Bruce Schneier, Applied Cryptography.
Secure Hash Algorithm (SHA)
It is hard and almost impossible to brute-force Bitcoin hashing algorithm because it is only solved in a linear, undirectional manner.
The hashing algorithm used for Bitcoin is SHA-256. It is extremely hard to “brute-force” the system because of the exorbitant amount of power that it takes to run a miner, much less 51% attack the system. On top of that it is comparative to a lottery to mine a block. In addition to these factors, the difficulty rebalances after every 2016 blocks, typically two weeks at one block mind on average every 10 minutes. So the SHA-256 algorithm constantly readjusts to prevent too hard of a hash as well as too easy, causing great balance without sacrificing security.
After a long time away from the Academy (personal reasons), I’m back at it!
SHA-256
Because the amount of outcomes is so big. It will take ages to find the right solution.