Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: oleganza on February 28, 2013, 06:53:38 PM



Title: Mining is cracking SHA-256 24/7
Post by: oleganza on February 28, 2013, 06:53:38 PM
Mining is based on finding partial collision of SHA-256(SHA256(block header)). Bitcoins get more expensive, creating incentives to develop cheaper and faster hardware that finds these partial collisions. Another way to make profit is to make a cryptanalysis of double SHA256 in order to figure out a faster way to produce a partial collision. I wonder how many people would try to do that in order to gain more hashing power for themselves.

I myself don't have much idea of the complexity of this task, but for those who understand hash functions better, it could be an interesting question to ponder. Imagine, you find a way to get partial collision 2 times faster: you can increase productivity of the existing GPU farm by a factor of 2 (unfortunately, ASICs will need to be changed since the algorithm would be different, but it's not your problem). Discuss.



Title: Re: Mining is cracking SHA-256 24/7
Post by: DannyHamilton on February 28, 2013, 07:00:02 PM
Discuss.

Already been discussed many times.

No need to discuss it again right now.

There is currently no known way to reduce the effort required to find an appropriate hash.

Someday in the future a weakness may be discovered in SHA-256 that will reduce the effort required, or it may not.


Title: Re: Mining is cracking SHA-256 24/7
Post by: foggyb on February 28, 2013, 07:08:45 PM
https://bitcointalk.org/index.php?topic=120473.0 (https://bitcointalk.org/index.php?topic=120473.0)

https://bitcointalk.org/index.php?topic=191.0 (https://bitcointalk.org/index.php?topic=191.0)

https://bitcointalk.org/index.php?topic=18211.0 (https://bitcointalk.org/index.php?topic=18211.0)

https://bitcointalk.org/index.php?topic=133425.0 (https://bitcointalk.org/index.php?topic=133425.0)

Just appetizers....


Title: Re: Mining is cracking SHA-256 24/7
Post by: misterbigg on February 28, 2013, 07:22:02 PM
Mining is based on finding partial collision of SHA-256(SHA256(block header)). Bitcoins get more expensive, creating incentives to develop cheaper and faster hardware that finds these partial collisions. Another way to make profit is to make a cryptanalysis of double SHA256 in order to figure out a faster way to produce a partial collision. I wonder how many people would try to do that in order to gain more hashing power for themselves.

If you agree never to post again until SHA-256 is broken I will agree to pay you 100BTC when SHA-256 is broken.


Title: Re: Mining is cracking SHA-256 24/7
Post by: oleganza on February 28, 2013, 08:56:04 PM
Thanks for the links. We all understand economical effect: faster hashing will be equivalent to faster ASICs, complete crack will mean quick adaptation of another hash (e.g. SHA-3). My question was not about that, but about explorations in how to make partial collisions faster (I do not imply "instantly") for double SHA. Are there known papers/people who explore it? I'm just curious whether in some future there will be a very bitcoin-specific method to predict, say, if you are going to have some zeros in the output or not. So you save some cycles and jump to next nonce. The algorithm can be probabilistic, of course. E.g. if we can figure out some patterns in the internal state during hash computation.



Title: Re: Mining is cracking SHA-256 24/7
Post by: wabber on February 28, 2013, 09:05:49 PM
I'm just curious whether in some future there will be a very bitcoin-specific method to predict, say, if you are going to have some zeros in the output or not.

There is one today already. Compute the hash and check.


Title: Re: Mining is cracking SHA-256 24/7
Post by: Syke on March 01, 2013, 04:20:48 AM
I'm just curious whether in some future there will be a very bitcoin-specific method to predict, say, if you are going to have some zeros in the output or not. So you save some cycles and jump to next nonce. The algorithm can be probabilistic, of course. E.g. if we can figure out some patterns in the internal state during hash computation.

That's already being done. Bitcoin miners do not compute a complete SHA256 hash. There are several minor shortcuts already implemented in modern miners.


Title: Re: Mining is cracking SHA-256 24/7
Post by: iCEBREAKER on March 02, 2013, 03:59:32 AM
OP is 100% correct.  Bitcoin is a way for The Network to trick cryptonerds into building them rainbow tables.

Only Fort Meade has enuf exabytes to store them all...

*doo doo doo, do do do do do*

/X-Files theme


Title: Re: Mining is cracking SHA-256 24/7
Post by: Sukrim on March 02, 2013, 11:55:29 AM
Mining uses a double hash (= SHA256(SHA256(header)) ), this is kinda special and not too common, so rainbow tables would be a bit useless. Also miners throw away a LOT of their results - just returning all the computed hashes would saturate quite some connections.


Title: Re: Mining is cracking SHA-256 24/7
Post by: earonesty on December 23, 2013, 05:49:06 PM
The development of ASICs makes brute force guessing of SHA256 hashes much faster.   So instead of taking, say, a trillion years to guess a password with a huge farm of PCs, you can now take 1000 years with a huge farm of ASICs.  

As ASICs become obsolete, we have lot of older-generation ASICs lying around, available cheaply for somone to brute force guess things.

So, yes - as long as your password hashing is the same as the hash used by ASICs, you're using a weaker hash.