Reading assignment: Hashing

The hashing algorithm used by bitcoin is SHA-256; it always produces an output of fixed length, that is, 256-bits, regardless of how long the input is.

When we say brute-force we mean that a computer is systemically looking for a hash collision by trying every possible combination until it encounters one. The SHA-256 algorithm is really hard to brute-force because the chances of encountering a hash collision are extremely high. It would take so long to find this hash collision that when found it is safe to assume that the string you have hashed is the same as the collision you have found as it is extremely unlikely you have found the same hash using a different string.

1 Like
  1. Sha-256
  2. The number of guesses that one would have to make to guess the right original input is so big, that the probability of it actually happening is almost zero.
2 Likes
  1. What is the hashing algorithm called used in Bitcoin?

1.Answer
SHA-256

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

2.Answer
Because there is “basically” an infinite amount of possibilities to guess the answer, makining it not worth the time to manually guess the answer.

Don’t trust… verify

1 Like
  1. SHA-256
  2. Because it is literally impossible to find input out of outputs, it can be done but it is based on a pure luck.
1 Like

What is the hashing algorithm called used in Bitcoin?
SHA-256
Why is this hashing algorithm really hard (almost impossible) to brute-force?
Massive data records creates vast number of possibilities, simply there is no enough time.

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

It is SHA 256

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

Because the chances of finding the original input are so low that you can count only on ‘‘luck or your grand-grand-grand-grandchildren’’ to match it.

1 Like

1.sha-256
2.virtually impossible to hack

1 Like

1.SHA256

  1. The number of random tries to get input value form hash is so large that it makes running this process so long it becomes obsolete
1 Like
  1. sha-256
  2. It would take too much time to brute force it. (2^256)
1 Like
  1. SHA-256
  2. Because there are so many possibilities that it would take lifetimes to figure out. Therefore, its infeasible.
1 Like

1. What is the hashing algorithm called used in Bitcoin?
The hasing algorithm used in Bitcoin is called SHA-256 (SHA = Secure Hashing Algorithm; 256 = 256-bits length)

2. Why is this hashing algorithm really hard (almost impossible) to brute-force?
Brute force may in fact be successful; however the chances of success are so astronomical that it is not worth the time and effort.

Simply put, 3.6 x 10^13 years so when compared to the age of our universe 13.7 x 10^9 years old… Well… Good (you’ll need a lot more than than just “good”) luck with that, bub! :smiley: ).

1 Like

SHA-256
The chances of randomly guessing the input values is so high and would take so long that it doesn’t matter.

1 Like

1 SHA256
2. theoretically you can make a successfully brute-force, to guess the input from an output hash, you must guess a random number of 256-bits length, this will take very long time so it won’t matter anymore, that means is per-image resistant.

1 Like

1 - SHA 256
2- It is difficult to find 2 input who have the same output on a hash function.

1 Like

What is the hashing algorithm called used in Bitcoin?
SHA 256
Why is this hashing algorithm really hard (almost impossible) to brute-force?
Its is a one way function

1 Like
  1. What is the hashing algorithm called used in Bitcoin?
    The hashing algorithm used in Bitcoin is called SHA-256. The hash is created using a algorithm and is essential to blockchain management.

  2. Why is this hashing algorithm really hard (almost impossible) to brute-force? The SHA-256 algorithm generates a fixed size 256-bit (32-byte) hash. Hashing is a one way function – it cannot be decrypted back. However it can be cracked by simply brute force or comparing hashes of known strings to the hash.

“To crack a hash, you need not just the first 17 digits to match the given hash, but all 64 of the digits to match. So, extrapolating from the above, it would take 10 * 3.92 * 10^56 minutes to crack a SHA256 hash using all of the mining power of the entire bitcoin network. That’s a long time”

2 Likes
  1. What is the hashing algorithm called used in Bitcoin?
    SHA256

  2. Why is this hashing algorithm really hard (almost impossible) to brute-force?
    There are too many possibilities to make a match from hash to original input.

1 Like
  1. SHA-256
  2. each input has a unique hash; infeasible to find two inputs that hash to the same point
1 Like
  1. SHA-256

  2. It takes so long to brute force the hash that it’s almost impossible. Similar hash does not mean similar input so you cant guess based on previous knowledge.

1 Like

1.) The Hashing Algorithm used in Bitcoin coin is called SHA-256 which results in 256 bit hash.

2.) Brute-Forcing SHA-256 algorithm is near impossible due to the astronomical odds of “guessing” the right answer; this is in attempting to find the pre-image (original input) prior to the hashing function if I understand correctly.

1 Like