-
Bitcoin uses the hashing algorithm SHA-256
-
**Why is hashing algorithm SHA-256 really hard (Almost impossible) to brute-force? **
Cryptography hashing functions are probabilistic, meaning no matter how many times you parse through a particular input through a hash function, you will always get the same result. The only way to find an input from an output has is through brute-force (pretty much impossible). This is like a trial and error method, where you go through many many inputs and see if it matches with the output.
So in SHA-256, there is 2^256 possibilities. To find an input, you need to go through 2^256 output possibilities to find the input. Good luck with that.