Bitcoin Forum
April 23, 2024, 06:11:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: in the future: sha256 gets cracked  (Read 6185 times)
gimme_bottles (OP)
Sr. Member
****
Offline Offline

Activity: 316
Merit: 250



View Profile
January 13, 2013, 03:45:27 PM
 #1

so this thought came me earlier this day:
in the future, lets say 2015, bitcoin mining is entirely done by high performance asic devices, which are developed only for mining bitcoin, so they have lots of sha256 cores. since it is an asic, the algorithm used to mine coins can not be changed.

then crypto researchers breal sha256, the bitcoin protocal gets attacked and the devs decide to move to a stronger algorithm. all the asics become totally worthless, the total hashrate drops by 99.99%.

what are your thoughts, especially regarding the bitcoin price?
1713852701
Hero Member
*
Offline Offline

Posts: 1713852701

View Profile Personal Message (Offline)

Ignore
1713852701
Reply with quote  #2

1713852701
Report to moderator
1713852701
Hero Member
*
Offline Offline

Posts: 1713852701

View Profile Personal Message (Offline)

Ignore
1713852701
Reply with quote  #2

1713852701
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713852701
Hero Member
*
Offline Offline

Posts: 1713852701

View Profile Personal Message (Offline)

Ignore
1713852701
Reply with quote  #2

1713852701
Report to moderator
waspoza
Hero Member
*****
Offline Offline

Activity: 602
Merit: 508


Firstbits: 1waspoza


View Profile
January 13, 2013, 04:01:29 PM
 #2

My thoughts: sha256 won't be cracked completely. It's possible that someone eventually find a flaw that will speed up finding hashes tho. But then difficulty will rise to offset this and everything will proceed as normal.
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
January 13, 2013, 04:04:40 PM
 #3

The way things are going, only ASICs we'll see are at the shoe store. Who knows, maybe China is reserving them to build their own mining rigs? Maybe BFL is a Chinese front company sent to demoralize the Bitcoin community? Maybe Russia will then develop a better, faster ASIC with more Bitcoin improvements and people will start using them. maybemaybemaybemaybemaybemaybemaybemaybemaybemaybemaybemaybemaybe

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
fancy_pants
Hero Member
*****
Offline Offline

Activity: 663
Merit: 501


quarkchain.io


View Profile WWW
January 13, 2013, 04:17:17 PM
 #4

so this thought came me earlier this day:
in the future, lets say 2015, bitcoin mining is entirely done by high performance asic devices, which are developed only for mining bitcoin, so they have lots of sha256 cores. since it is an asic, the algorithm used to mine coins can not be changed.

then crypto researchers breal sha256, the bitcoin protocal gets attacked and the devs decide to move to a stronger algorithm. all the asics become totally worthless, the total hashrate drops by 99.99%.

what are your thoughts, especially regarding the bitcoin price?

One could say that MD5 has already been broken and banks have already dealt with this problem by switching to sha256.  The switch takes years but we know that banking customers do not riot in the street when an algorithm is broken.

Regarding obsolete hardware,  hash rate drops by 99.99% but the system still pumps out the same reward every 10 minutes.  Supply/demand stays the same.



phatsphere
Hero Member
*****
Offline Offline

Activity: 763
Merit: 500


View Profile
January 13, 2013, 04:35:04 PM
 #5

Regarding obsolete hardware,  hash rate drops by 99.99% but the system still pumps out the same reward every 10 minutes.
The difficulty is only adjusted every 2016 blocks, and large changes are filtered! so, for maybe 2 months this will be way off. but still, transactions stay the same and during that time, many enthusiasts will jump in to safe the system …
gimme_bottles (OP)
Sr. Member
****
Offline Offline

Activity: 316
Merit: 250



View Profile
January 13, 2013, 04:37:59 PM
 #6

One could say that MD5 has already been broken and banks have already dealt with this problem by switching to sha256.  The switch takes years but we know that banking customers do not riot in the street when an algorithm is broken.


but md5 is not nearly as essential to the bank industry as sha256 is for bitcoin. in the worst case scenario, banks could shut down all atm/online banking and only handle cash at the counters.
but if you find a way to reverse the sha256 algorythm, you alone could bash the entire bitcoin network.
zby
Legendary
*
Offline Offline

Activity: 1592
Merit: 1001


View Profile
January 13, 2013, 06:42:32 PM
 #7

One could say that MD5 has already been broken and banks have already dealt with this problem by switching to sha256.  The switch takes years but we know that banking customers do not riot in the street when an algorithm is broken.


but md5 is not nearly as essential to the bank industry as sha256 is for bitcoin. in the worst case scenario, banks could shut down all atm/online banking and only handle cash at the counters.
but if you find a way to reverse the sha256 algorythm, you alone could bash the entire bitcoin network.

The hashing algorigthm can be changed - that would require patching lots of clients - but in case of an sha256 breach I believe a consensus on the need for such a change would be reached quickly.  Also a breach does not mean bashing the entire network - it only means that whoever does that can double spend - this is dangerous - but is easy to spot and once registered people can react.
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
January 13, 2013, 07:09:08 PM
 #8

Fixing bitcoin would be very easy: just make it use another algorithm. Everyone download it, problem solved.

Yeah ASIC would be useless but as other said, the whole world use sha256 so if that happens then bitcoin will be the last of our problems. This implying sha256 will be cracked of course...

mughat
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile
January 13, 2013, 07:14:13 PM
Last edit: January 13, 2013, 08:24:37 PM by mughat
 #9

so this thought came me earlier this day:
in the future, lets say 2015, bitcoin mining is entirely done by high performance asic devices, which are developed only for mining bitcoin, so they have lots of sha256 cores. since it is an asic, the algorithm used to mine coins can not be changed.

then crypto researchers breal sha256, the bitcoin protocal gets attacked and the devs decide to move to a stronger algorithm. all the asics become totally worthless, the total hashrate drops by 99.99%.

what are your thoughts, especially regarding the bitcoin price?

Very unlikely.
But if the algorithem was changed so ASICs would no longer work, mining difficulty would drop automatically and mining would be done using CPUs & FPGA's for a while untill new ASICs was manufactured.

https://en.bitcoin.it/wiki/Difficulty

Depending on how quick the fix is implemented and what losses people will suffer the price will drop to almost nothing because noone would buy bitcoins but it would go back up after the fix is installed.
gimme_bottles (OP)
Sr. Member
****
Offline Offline

Activity: 316
Merit: 250



View Profile
January 13, 2013, 09:42:05 PM
 #10

it was clear to me that difficulty will drop and the rate of generation will be constant, i was more focused on the economic aspect, because people invested lots of money into a then useless technology.
ElectricMucus
Legendary
*
Offline Offline

Activity: 1666
Merit: 1057


Marketing manager - GO MP


View Profile WWW
January 13, 2013, 10:00:13 PM
 #11

I think Bitcoin with ASICs stands and falls with the hashing algorithm. Switching it or trying to switch it would result in more chaos than it can handle.

A scenario like you described would result in nobody willing to actually do the switch. But then it isn't certain that ASICs are the future of Bitcoin mining either, if the current wave of preorders turn out to be a bum people could realize that it isn't in their best interest to switch to asics at all. FPGAs are becoming better by the year and gain more market penetration in every other field.
In the future almost any computing might be done with FPGAs, MPPAs and similar devices with the performance penalty in comparison to ASICs negligible.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 13, 2013, 10:05:09 PM
 #12

For mining purposes MD5 being "cracked" wouldn't prevent it from being used a proof of work.  It is unlikely SHA-256 will ever be replaced as the proof of work algorithm in Bitcoin (this is different than the hashing algorithm used in address creation).

For example say an cryptogrpahic flaw was found that would allow one to find SHA-256 collisions 1000x faster than brute force.  Ok everyone uses it and difficulty rises by 1000x.  Difficulty is a completely arbitrary construct.  Difficulty 20M on unhacked SHA-256 vs difficulty 20B on "hacked" (1000x faster than brute force) SHA-256.   Who cares?  People stopped using MD5 because one could find a collision faster than brute force this is bad for things like securing passwords or validating encrypted packets.  In Bitcoin mining we are attempting a brute force attack. Rather than looking for a specific collision we are looking for a hash which is below a completely arbitrary number.  If it gets easier to to that difficulty will rise and the completely arbitrary number (the target) will be smaller/harder.

To change the mining algorithm would be a hard fork.  It is unlikely anyone would get enough support for a change like that.  Miners and merchants will continue to use the "real" Bitcoin fork.
gimme_bottles (OP)
Sr. Member
****
Offline Offline

Activity: 316
Merit: 250



View Profile
January 13, 2013, 10:21:46 PM
 #13

For mining purposes MD5 being "cracked" wouldn't prevent it from being used a proof of work.  It is unlikely SHA-256 will ever be replaced as the proof of work algorithm in Bitcoin (this is different than the hashing algorithm used in address creation).

For example say an cryptogrpahic flaw was found that would allow one to find SHA-256 collisions 1000x faster than brute force.  Ok everyone uses it and difficulty rises by 1000x.  Difficulty is a completely arbitrary construct.  Difficulty 20M on unhacked SHA-256 vs difficulty 20B on "hacked" (1000x faster than brute force) SHA-256.   Who cares?  People stopped using MD5 because one could find a collision faster than brute force this is bad for things like securing passwords or validating encrypted packets.  In Bitcoin mining we are attempting a brute force attack. Rather than looking for a specific collision we are looking for a hash which is below a completely arbitrary number.  If it gets easier to to that difficulty will rise and the completely arbitrary number (the target) will be smaller/harder.

To change the mining algorithm would be a hard fork.  It is unlikely anyone would get enough support for a change like that.  Miners and merchants will continue to use the "real" Bitcoin fork.


thanks for the long and good reply, explains a lot. it was also my first thought that a change of the algorythm used is possible, but it would be hard to realize, because peolpe not updating their client would be abandoned from the network.
xxjs
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 14, 2013, 12:19:39 AM
 #14

The short version of the history of cryptography,

1 Write the message. In those days, most people could not read, not even the couriers.

2 Reconfigure the characters in a secret way. Started with the Ceasar code and other variants. Could be decoded manually by smart guys.

3 Mechanical computers used to rearrange the code. A key was supplied to the machine using numbered discs. Used in world war 2, but still crackable in hours (at the end of the war).

4 The concept of a key was introduced. The protocol and algoritm could be public, the problem of cracking was concentrated into the key. That was the Kerckhoffs's principle. Computers used to encrypt and break encryption.

5 Longer keys were used, and better algoritms were found, making the messages cryptograhically secure. The encryptors definitely won over the crackers. (bearing in mind that encryption and cracking is two sides of the same coin, a cryptographer also needs to be a cracker and vice versa).

6 Public key crypthography (used in the bitcoin addresses) were invented by Rivest, Shamir and Adelmann, in 1977, patented and lecensed by the RSA corporation. Bitcoin uses a later development of this principle.

7 A secure hash algoritm was designed and published by RSA in 1995, later version 5 of what was called MD5 (message digest version 5). It is still used today, but has some weaknesses. SHA  (secure hash algoritm, later enumerated SHA-0) and SHA-1 and SHA-2 was developed by NSA. SHA-2 is used in bitcoin for all the hashes. SHA-2 has several key lengths, the one chosen for bitcoin has 256 bits and is also called SHA-256.

8 A new hash SHA-3 is designed outside the NSA. A competition was started in 2007 by NIST. A victor was declared in 2012. This might be recommended for future use after some years of scrutiny.

In some ways, history repeats itself, in some ways the world develops. Both could be true at the same time. In cryptography however, the truth is that there has been development and secure cryptography is possible. The scrutiny of the different algoritms sometimes reveals _possible_ defects years before they can be realistically cracked. This gives us the time needed to change the system if a problem should arise.

Of course it is always a remote possibility of a crack beeing found that could render the system unusable from one day to the other. But now, that seems very, very remote.

Well this appeared to be not so short after all...

Elwar
Legendary
*
Offline Offline

Activity: 3598
Merit: 2384


Viva Ut Vivas


View Profile WWW
January 14, 2013, 03:25:11 AM
 #15

If ASICs are being sold at a pace by 2015 where every Bitcoin miner is using them, then the ASIC companies will have enough money to re-tool the mining rigs and start selling upgraded versions a lot faster than they are now. They will have vetted out most of their processes by then and have staff to push it through.

First seastead company actually selling sea homes: Ocean Builders https://ocean.builders  Of course we accept bitcoin.
fancy_pants
Hero Member
*****
Offline Offline

Activity: 663
Merit: 501


quarkchain.io


View Profile WWW
January 14, 2013, 04:22:34 AM
 #16

... Ok everyone uses it (the exploit) and difficulty rises by 1000x.

That is everyone except the ones with non-programmable asic chips.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 14, 2013, 04:26:44 AM
 #17

... Ok everyone uses it (the exploit) and difficulty rises by 1000x.

That is everyone except the ones with non-programmable asic chips.

True but there will be a very large incentive for an ASIC developer to release a chip which takes the crytographic flaw into effect.  Until that happens you could see (hypothetically) a period of time where the average GPU can out hash a high end ASIC. 
novusordo
Sr. Member
****
Offline Offline

Activity: 800
Merit: 250



View Profile
January 14, 2013, 04:42:19 AM
 #18

... Ok everyone uses it (the exploit) and difficulty rises by 1000x.

That is everyone except the ones with non-programmable asic chips.

True but there will be a very large incentive for an ASIC developer to release a chip which takes the crytographic flaw into effect.  Until that happens you could see (hypothetically) a period of time where the average GPU can out hash a high end ASIC. 

I'm doubtful that an ASIC developer would release a chip that makes use of a broken hash function. The chance would be too high that Bitcoin would switch to a new algorithm, rendering their new (and old) chips worthless.


                            █████
                        █████████████
                     █████████████
                 ██████████████        █████
              █████████████        ████████████
          ██████████████        █████████████
       █████████████        █████████████       ██████
       ██████████        ████████████           ██████
       ███████       █████████████       ███    ██████
       ███████    █████████████       ██████    ██████
       ████████████████████       ██████████    ██████
       █████████████████       █████████████    ██████
       █████████████       █████████████        ██████
       ██████████       █████████████           ██████
       ███████      ██████████████       ███    ██████
       ██████    █████████████       ███████    ██████
       ██████    ██████████       ██████████    ██████
       ██████    ██████        █████████████    ██████
       ██████    ███       █████████████        ██████
       ██████           █████████████       ██████████
       ██████       █████████████        █████████████
                 █████████████       █████████████
              ████████████        █████████████
                  ████         ████████████
                           █████████████
                         ███████████
                            █████
Ferrum Network • Interoperability Network for Financial Applications
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 14, 2013, 04:46:50 AM
 #19

... Ok everyone uses it (the exploit) and difficulty rises by 1000x.

That is everyone except the ones with non-programmable asic chips.

True but there will be a very large incentive for an ASIC developer to release a chip which takes the crytographic flaw into effect.  Until that happens you could see (hypothetically) a period of time where the average GPU can out hash a high end ASIC.  

I'm doubtful that an ASIC developer would release a chip that makes use of a broken hash function. The chance would be too high that Bitcoin would switch to a new algorithm, rendering their new (and old) chips worthless.

Really so it would be better to see their product instantly become worthless, sales plummet to zero overnight, and all miners revert to using (cryoptographic flaw enhanced) GPU?  That is better than a (essentially 0.0%) chance that Bitcoin will switch to a new algorithm.  Note the clumsiness of the saying "Bitcoin will switch".  Is Bitcoin a person?  a corporation?  Who exactly would switch?  EVERYONE?  Nobody would decide to keep using "original bitcoin".  Imagine the confusion and chaos if for example MtGox supported original Bitcoin but bitpay supported "new bitcoin" and there were two incompatible forks of the reference client each supporting one version of the protocol and users had coins on both versions with initial balances at the point the blockchain permenently and irrevocably split.  Think that chaos might be bad for Bitcoin?  Think that might be worse than the non-problem of miners calculating hashes faster?

The hashing algorithm isn't going to change.  Anyone who understands the decentralized consensus that is Bitcoin understands that.   A flaw which allows someone to hash 1000x, 1,000,000x, hell 50 quadrillion times faster presents absolutely no risk to Bitcoin.  It simply means everyone will end up using the "flaw" (either back on CPU/GPU/FPGA or on some future ASICs) and difficulty will increase by an equivalent amount.  
ElectricMucus
Legendary
*
Offline Offline

Activity: 1666
Merit: 1057


Marketing manager - GO MP


View Profile WWW
January 14, 2013, 05:13:55 AM
 #20

The hashing algorithm isn't going to change.  Anyone who understands the decentralized consensus that is Bitcoin understands that.   A flaw which allows someone to hash 1000x, 1,000,000x, hell 50 quadrillion times faster presents absolutely no risk to Bitcoin.  It simply means everyone will end up using the "flaw" (either back on CPU/GPU/FPGA or on some future ASICs) and difficulty will increase by an equivalent amount.  

Well depending on the magnitude there is also an increased risk of a 51% percent attack from people who learn about the flaw first.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!