Reading assignment: Hashing

Good one! :joy: :rofl: But if you crack the algo it would also render your Bitcoin Brute insecure.

2 Likes
  1. SHA256
  2. Because 256bits hash give you so many combination (2^256) that is nearly imposible to guess in reasonable time.
1 Like
  1. Sha256
  2. because computers are currently too slow (takes too long to effectively try every possible outcome) at least until quantum computing is common practice
1 Like
  1. Hashing algorithm is called Sha 256
  2. It would take more than 2 lifetimes using brute force
1 Like
  1. SHA256
  2. Brute-forcing consists in trying to hash random inputs until they match the output.
    There are a total number of 2^256 combinations (that is > 10^76 !!). To run through such a high number of inputs would statistically take millions/billions of years with a classical computer. Although this is not true for quantum computers, these are still very premature.
1 Like
  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?
    There are are 2^256 different possible hashes and it is infeasible that the exact output would be easily found

1 Like
  1. SHA-256

  2. It is pretty impossible to reverse the data and find the input.

1 Like
  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?
    Because the likelihood of randomly generating the correct hash is so astronomical high the odds are negligible
1 Like

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

SHA-256 (Secure Hashing Algorithm 256).

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

With the SHA-256 algorithm, there are 2^256 possibilities for what the right answer could be when a random number is picked (called the ‘Nonce’), appended onto the previous block hash, and then hashed again in combination with the previous block hash.

The result of this process is compared with the target difficulty level (this number is proportion to the hash rate of the network at the time). If the result is less than this target, only then is the block in question added to the blockchain, and the miner rewarded with bitcoin.

There is a 50% chance to break the hash after √2^256 (1.15792089x10^77) instances of the hashing operation. This would take so long, and so much hashing power to get to this number of instances, it is implausible that someone would be able to brute-force this algorithm within their lifetime, using the technology available today.

1 Like
  1. SHA-256
  2. With SHA 256 there is 2^256 possibilities, so it would require an extremely large number of random computations to brute force find the collision.
1 Like

SHA-256 is for BTC. ETH uses a different one.
Each hash in distinct and different. Also, sequential data if hashed, would have no similarity in appearance. A “5” would bear no resemblance to a “6” or even a “55”. Therefore massive numbers requiring almost impossible levels of computing power would literally have to try, hashing around half of the possible combinations, hoping for a lucky match. At that point, only 1 hash would be “cracked”. This process would have to be repeated for each hash.

1 Like
  1. What is the hashing algorithm called used in Bitcoin?
    Ans: SHA-256

  2. Why is this hashing algorithm really hard (almost impossible) to brute-force?
    Ans: Because of the high volume of data.

1 Like

1.Hash algorithm used in bitcoin is SHA-256
2.SHA-256 has a huge amount of data it uses 256-bit of hash. And the brute force method is basically using a random input, hashing it and compare it to target output hash. It will take a very long long time maybe you’re dead before it finishes to have a match with your target hash or not, basically you’re up against astronomical odds.

1 Like

[quote=“ivan, post:1, topic:8422, full:true”]
Answer the questions below.

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

  2. Why is this hashing algorithm really hard (almost impossible) to brute-force?
    The SHA-256 hashing algorithm is hard (almost impossible) to brute-force because it is almost impossible to reconstruct the initial data (input) from the hash value. A brute-force attack would need 2^256 attempts to generate the original data. Having two inputs with the same value is extremely unlikely. With 2^256 possible hash values, the likelihood of two being the same is unimaginably small. Also, a slight change to the original input changes the hash values so much so that it is not apparent the new hash value is derived from similar data.

1 Like
  1. bitcoin uses the hashing algorithm SHA-256
  2. because it would take so long that it is pointless
1 Like

1.) The Bitcoin Algorithm is the Secure Hashing Algorithm 256 or for short the SHA-256
2.) Because usually there are 3 scenarios that happen. and it is very difficult to find the same result that matches with so many possibilities to investigate and then match.

1 Like
  1. The hashing algorithm in Bitcoin is called SHA 256
  2. This hashing algorithm is almost impossible to brute force because there are just too many possibilities when large numbers like what we use in hashing are used
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?

SHA 256 generates a 2^256 bit random number there’s not much chance of there ever being 2 private keys of exactly the same configuration . This is then scrambled again by applying Elliptic curve cryptography to generate a public key :key: then hashes are used to create a signature. The backwards path to the y coordinates have never been achieved .

1 Like

Private key is in fact just a large random number, its not derived from hash functions. But you are correct about public keys being derived using the elliptic curve :slight_smile:

  1. SHA-256
  2. it would take too long to find the right input
1 Like