Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: BlackHatCoiner on April 30, 2020, 04:48:57 PM



Title: Question about key's hash algorithm
Post by: BlackHatCoiner on April 30, 2020, 04:48:57 PM
I read this:

https://i.imgur.com/XvUTGn9.png

The thing I don't get is why so so so many encrypting algorithms for generating a public key.

Why should we do privatekey = RIPEMD160(SHA256(publickey)) and not just privatekey = SHA256(publickey)

It's the same thing on a brute force attack. Isn't it?


Title: Re: Question about key's hash algorithm
Post by: ranochigo on April 30, 2020, 05:09:42 PM
I don't think there's any concrete answer to this.

The most common reason for choosing RIPEMD160 is due to its shorter message digest as compared to SHA256 alone.

You might want to stop creating new threads for every question or just Google it. Most of your questions are fairly common and can just be googled. Just continue in this thread if you have more questions that you can't find the answer to.


Title: Re: Question about key's hash algorithm
Post by: BlackHatCoiner on April 30, 2020, 05:16:20 PM
I don't think there's any concrete answer to this.

The most common reason for choosing RIPEMD160 is due to its shorter message digest as compared to SHA256 alone.

You might want to stop creating new threads for every question or just Google it. Most of your questions are fairly common and can just be googled. Just continue in this thread if you have more questions that you can't find the answer to.

I would love to create a thread about my questions. But I've already done that  :P  (https://bitcointalk.org/index.php?topic=5241534.0)

Why is it that bad to create multiple threads on this giant forum? I mean, I'm a drip in the ocean here.

And about google, it really hasn't helped me with my crypto-questions I've had. This forum has tho.


Title: Re: Question about key's hash algorithm
Post by: ranochigo on April 30, 2020, 05:20:00 PM
I would love to create a thread about my questions. But I've already done that  :P  (https://bitcointalk.org/index.php?topic=5241534.0)

Why is it that bad to create multiple threads on this giant forum? I mean, I'm a drip in the ocean here.

And about google, it really hasn't helped me with my crypto-questions I've had. This forum has tho.
It's not necessarily bad but it having a thread keeps it more organised and other users can also answer your questions without going through different threads for every question.



Title: Re: Question about key's hash algorithm
Post by: BrewMaster on April 30, 2020, 05:20:28 PM
It's the same thing on a brute force attack. Isn't it?

why would it be the same thing? it is like saying if you put 2 bolts on your door it would be the same as putting one!
and not everything is about brute forcing. there are other attack vectors. for example the collisions and preimage attacks. they become a lot more impossible with 2 hash algorithms.

maybe start a thread and ask how you can learn how to search...