- What is the hashing algorithm called used in Bitcoin?
SHA-256 - Why is this hashing algorithm really hard (almost impossible) to brute-force?
The properties that better explain this are:
- PRE-IMAGE RESISTANCE - infesable there is a very low probability of determine the input which generated di otuput. It is nearly impossible to guess the inputs.
-
PUZZLE-FRIENDLY if the SALT is casual (=random string that we add before the message) it is rather impossible to track the input unless you try all the different keys.
So, given a causal salt and a fixed number of solutions Y, we have to find a message where the key , concatenated to the message, belongs to the set of solution Y. - The SHA-256 has not shown collision for now, which means also that the chance to find a collision (=casual match) is so low that it will requires milions of year.