Reading assignment: Hashing

  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?

Due to the randomness brute force is the only way to try and break the hashing algorithm but because the amount of possibilities is so high it is almost impossible, it would take extremely long.

1 Like
  1. Bitcoin uses SHA-256. (Secure Hashing Algorithm 256)

  2. Although it is not impossible to determine the original input from its hash value, it takes so long that it doesn’t even matter.

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?
    Its infeasible to brute force because 256-bit hash is huge data and require enormous resources and time to successfully execute.

1 Like
  1. SHA-256
  2. Brute forcing it would require too much computational power and time making it impractical. SHA-256 has 2^256 possibilities.
1 Like
  1. SHA- 256
  2. 2^256 possibilities, with a random search for the match.
1 Like
  1. What is the hashing algorithm called used in Bitcoin? sha56
  2. Why is this hashing algorithm really hard (almost impossible) to brute-force? not enough time in our lifes

Answer the questions below.

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

  2. Why is this hashing algorithm really hard (almost impossible) to brute-force?
    While security does matter, it is all just random guessing and in the end, it theoretically could work with a brute force attack. But it would have to take life times to make these attacks and to random guess… Due to fact it would have to check all the hash function properties in order to be secure and compute.

1 Like

The Hashing algorithm used in Bitcoin is SHA-256

This means that the input of variable lenght gets scrambled with some algorithmes to 256 digits of one’s and zero’s. (binary) Computers only understand binary at the lowest level.

We as users we usually observe a Sha256 hash converted into a hexadecimal number with 64 digits.
In computer science, hexadecimal numbers are more convenient to use because 4bits (half a byte or a nibble) represents 1 hexadecimal digit. So for computers, hexadecimal is more convenient than just our own decimal system (0-9)

1 Like
  1. SHA-256
  2. Because the number of tries required to do this would mean it would take so long it doesn’t matter
1 Like
  1. The hashing algorithm for Bitcoin is SHA-256
  2. The SHA-256 algorithm is almost impossible to brute-force (hack) because you have to try all possibilities and try to find the match for the answer which takes a very long time. I read that if all googles computational power were put to the task, it would take over a hundred years to brute-force it.
1 Like

1.Secure Hashing Algorithm 256
2. The number of hashes (256) and the chance of finding the right hash by brute-force is so little that the network is safe.

1 Like
  1. sha256 is the hashing algorythm.

  2. there are so many different combinations that needs to be tried out that it will take several lifetimes to test all the combinations

1 Like

Yes I’ve had to go over the process put together a few times to get it all to gel in my head . I totally understand the sequence of events now . I actually went down a rabbit hole studying well above my “at the time pay grade “ got all muddled up using the wrong sequence of events . Thank you so much for helping me understand I’d scrambled those 2 very seperate pieces of information. It is much clearer now.
Private Key : Randomly generated
Public Key : Elliptical curve cryptography for the link to Private Key
SHA 256 : Digital Fingerprint /Signature
RIPMED-160 : Memo/Checksum/ Transaction ID
Do I have it summarised ok ?

SHA256 and RIPMED are both hash functions. SHA256 is used for mining and txids. But both SHA and RIPMED are used for hashing public keys to an address. :slight_smile:

2 Likes

1.- SHA-256,
A) Security
B) Efficiency (computational cost)

2.- Because of the Insignificant probability to find the input that result from the output.

1 Like

Ok gotcha thank you :blush:

  1. sah 256

  2. because its very hard (almost impossible) to reverse output to input data. Only way is guessing, which takes more than just one life time

1 Like

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

SHA 256 is the hashing algorithm for Bitcoin.

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

Because the total number of possibility’s are so vast it would take a ridiculous amount of time to ever find a match.

1 Like
  1. the hashing algorithm used for bitcoin is SHA-256
    2 the possibility of breaking by brute force is less due to large computation involved
1 Like
  1. Sha-256
  2. Because there is a unique output for every input in that eliminates the possibility of luck in trying to find the exact resulting output through force.
1 Like