Reading assignment: Hashing

1.SHA-256
2. see answer below

1 Like
  1. What is the hashing algorithm called used in Bitcoin?
    For Bitcoin, the hash function is called SHA-256.

  2. Why is this hashing algorithm really hard (almost impossible) to brute-force?
    There are so many possibilities to get the requested result. If you want to crack the code you need a proper super computer and a lot of time… your grand kids will maybe get something out of it… But absolutely not worth anybodies time.

2 Likes

@DTipotsch Bitcoin does not use double hash. Only SHA-256. ā€œTo those who say it’s secure , they are correct in general. " Double " hashing (or the logical expansion of that, iterating a hash function) is absolutely secure if done right, for a specific concern. To those who say it’s insecure, they are correct in this case. The code that is posted in the question is insecureā€. reference https://stackoverflow.com/questions/348109/is-double-hashing-a-password-less-secure-than-just-hashing-it-once

1 Like
  1. sha 256

  2. Because the number of possibilities is so large, that it is very hard for 2 people to get the same outcom.

1 Like

Thank you, i was looking for more in depth information and found that information here.
https://medium.com/coinmonks/bitcoin-mining-sha-256-hash-algorithm-a-simple-approach-2ee213bc1021

I will keep it at SHA-256, thanks

2 Likes

Here you are explaining a collision, brute forcing means that you keep guessing the input, hash it and check if the hash is the same, it’s like trying out every combination of a pincode

2 Likes

sha 256
computationally take too much time and cost for break it

1 Like

Alright, I’m new to this. I guess I have to do further reading, didn’t understand it well.

Thanks

1 Like

But now I get it! :smiley:

1 Like
  1. What is the hashing algorithm called used in Bitcoin?

SHA-256,

  1. Why is this hashing algorithm really hard (almost impossible) to brute-force?

Too many possible combinations to try and guess, even with enormous computer resources doing the guessing.

1 Like

1: SHA256
2: The sheer number of possibilities makes brute force attacks difficult.

2 Likes
  1. What is the hashing algorithm called used in Bitcoin?
    SHA-256

  2. Why is this hashing algorithm really hard (almost impossible) to brute-force?
    It is difficult to reverse the output hash to discover the input, and very improbable to encounter a Birthday Problem collision scenario where two inputs create the same output even if you tried to cheat the system by forcibly producing the same targeted hash output with a different input. The time required to even reach this point with any SHA algorithm will take many lifetimes to eventually crack.

2 Likes
  • What is the hashing algorithm called used in Bitcoin?
    SHA - 256
  • Why is this hashing algorithm really hard (almost impossible) to brute-force?
    Because to find the input based on the output is very difficult. Since the output is of such large lenght that the possibility that it makes a collusion is nearly impossible.
1 Like

1- Sha-256
2- The hashing algorithm is almost impossible to brute-force because the probability of finding a collision is very very small, would require very large amount of time and computing power.

1 Like
  1. SHA-256.
  2. The algorithm is almost impossible to brute force because it would take much more years than an average human life to find 2 inputs that produce the same output in the Hash function.
1 Like

1.SHA-256 is the hashing algorithm used in Bitcoin

2.A hashing algorithm is almost impossible to brute-force because there are so many possibilities, it would take too long to guess the exact input to produce the output.

1 Like

Answer the questions below.

  1. What is the hashing algorithm called used in Bitcoin?
    Bitcoin hashing algorithm is SHA-256 (Secure Hash Algorithm).

  2. Why is this hashing algorithm really hard (almost impossible) to brute-force?
    To Brute-force is hard because of enormous volume of computation necessary in order to brake the code. Hashing is a one way function - we can’t reverse the process and find input.

G.

1 Like

What is the hashing algorithm called used in Bitcoin?

SHA3-512 Secure Hash Algorithm

Why is this hashing algorithm really hard (almost impossible) to brute-force?

Brute force works by simply going through every possible input string and trying it, one at a time.The only protection against brute force is the fact that it takes an inordinately long time to perform a brute force.

Bitcoin uses SHA256 hashing algorithm .
It is really hard (almost impossible) to brute-force hashing algorithm because there is no way to reverse the hash function and to find the input based on the output. Because SHA 256 hash has 2^256 different possibilities. 2^256 is a 78 digit number, this would take so long to find.

1 Like

Bitcoin uses SHA-256

https://en.bitcoinwiki.org/wiki/SHA-256

2 Likes