Bitcoin Forum
May 27, 2024, 05:18:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Can Bitcoin eventually shift away from SHA256?  (Read 3256 times)
mpattison (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 05, 2014, 06:07:12 AM
 #1

Let's just say the NSA cracks it tomorrow... is that the end, or can the developers shift gears to a different form of encryption?
Bigeyeone
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 05, 2014, 06:11:33 AM
 #2

The devs can change the hashing protocol with a hard fork (if everyone accepts their new client of course,) but if they change from SHA 256 all the asic miners gonna be real pissed off because that would make their asics worthless over night because their asics cant do anything else, so there would be a lot of resistance.


PMC: 19dNRVPcjsESqo8isdauc1gQ6PbUrAZor9
mpattison (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 05, 2014, 06:21:34 AM
 #3

The devs can change the hashing protocol with a hard fork (if everyone accepts their new client of course,) but if they change from SHA 256 all the asic miners gonna be real pissed off because that would make their asics worthless over night because their asics cant do anything else, so there would be a lot of resistance.



Gotcha.
Is there no way to change & retain ASICs use?

EDIT: And ultimately, while it would suck for hardware owners, it is a necessity if BTC is to remain viable.
greenlion
Hero Member
*****
Offline Offline

Activity: 667
Merit: 500


View Profile
January 05, 2014, 06:49:30 AM
 #4

Gotcha.
Is there no way to change & retain ASICs use?

EDIT: And ultimately, while it would suck for hardware owners, it is a necessity if BTC is to remain viable.

No, ASICs are hard-coded to a specific mining sha256d implementation.

FPGA's however could become relevant again.
mpattison (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 05, 2014, 06:56:12 AM
 #5

Gotcha.
Is there no way to change & retain ASICs use?

EDIT: And ultimately, while it would suck for hardware owners, it is a necessity if BTC is to remain viable.

No, ASICs are hard-coded to a specific mining sha256d implementation.

FPGA's however could become relevant again.

Very interesting!  Thanks!
kwoody
Sr. Member
****
Offline Offline

Activity: 454
Merit: 250


Technology and Women. Amazing.


View Profile
January 05, 2014, 07:17:52 AM
 #6

Switching Bitcoin protocol will be extremely difficult and risky. If petaflop power of currently implemented ASIC hardware is lost, the network would become so weak that it'd be vulnerable to anyone who can afford to spend $50ish-million on developing ASICs that use new protocol.

So switching is viable, but dangerous for the network until overall computational power is restored to the point where no single entity can easily amass 51% of hashrate. The 'problem' will worsen as time goes on and more SHA256 ASIC are added to network.
FenixRD
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


I am Citizenfive.


View Profile
January 05, 2014, 07:32:40 AM
 #7

Switching Bitcoin protocol will be extremely difficult and risky. If petaflop power of currently implemented ASIC hardware is lost, the network would become so weak that it'd be vulnerable to anyone who can afford to spend $50ish-million on developing ASICs that use new protocol.

So switching is viable, but dangerous for the network until overall computational power is restored to the point where no single entity can easily amass 51% of hashrate. The 'problem' will worsen as time goes on and more SHA256 ASIC are added to network.

Luckily, the market has already created a solution to this. It's called Litecoin (only big non-SHA-256 coin at present). As for ASIC miners, their expected ROI point is usually 3 - 6 months out at most anyway; and most are aware SHA-256 will not live forever. The market will hedge its bets with a big shift to LTC if necessary, but really I doubt the actual cracking of it will be a big issue. It's unlikely to occur and be used in an attack. More likely, it will be published (maybe even with a couple weeks of heads-up lead time to Bitcoin devs, since that's the single biggest implication of it) with the details held secret until the hash function is updated and mining strength is strong (which would happen quickly, as even CPU mining would again be viable, and the circle of life of a crypto's hash function continues).

Also, please explain your logic in thinking a 51% attack is any more viable while a new hash function is in it's infancy, and everyone goes back to CPU, then GPU, etc. It seems to me that this is perhaps actually desirable, for the decentralization and prevention of 51% accumulations. I believe Satoshi would agree with me.

Uberlurker. Been here since the Finney transaction. Please consider this before replying; there is a good chance I've heard it before.

-Citizenfive
mcleo
Member
**
Offline Offline

Activity: 77
Merit: 10


View Profile
January 05, 2014, 07:56:40 AM
 #8

is Scrypt vulnerable like sha256 though?
bg002h
Donator
Legendary
*
Offline Offline

Activity: 1463
Merit: 1047


I outlived my lifetime membership:)


View Profile WWW
January 05, 2014, 09:42:18 AM
 #9

is Scrypt vulnerable like sha256 though?
Neither is vulnerable...

Hardforks aren't that hard. It’s getting others to use them that's hard.
1GCDzqmX2Cf513E8NeThNHxiYEivU1Chhe
rarabit
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 05, 2014, 10:35:55 AM
 #10

Switching Bitcoin protocol will be extremely difficult and risky. If petaflop power of currently implemented ASIC hardware is lost, the network would become so weak that it'd be vulnerable to anyone who can afford to spend $50ish-million on developing ASICs that use new protocol.

So switching is viable, but dangerous for the network until overall computational power is restored to the point where no single entity can easily amass 51% of hashrate. The 'problem' will worsen as time goes on and more SHA256 ASIC are added to network.

Luckily, the market has already created a solution to this. It's called Litecoin (only big non-SHA-256 coin at present).

Bitcoin could switch to scryp, most scrypt hashing power goes go
to bitcoin , other scrypt alts lose most of their scrypt hash power.
The biggest danger here is for alts  IMO if sha is broken.
FenixRD
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


I am Citizenfive.


View Profile
January 05, 2014, 10:48:21 AM
 #11

Bitcoin could switch to scryp, most scrypt hashing power goes go
to bitcoin , other scrypt alts lose most of their scrypt hash power.
The biggest danger here is for alts  IMO if sha is broken.

You are either very confused about the mining, merged mining, and the relationship between scrypt-based chains and SHA-based chains, or I was unable to make any sense of what you wrote.

is Scrypt vulnerable like sha256 though?
Neither is vulnerable...

Or, put another way, both are just as vulnerable, in that there are not any major weaknesses known for either. Probably more attention is paid to SHA-256 which is used in regular banks and a million other places. If they are equally strong, SHA-256 would probably be broken first, in that case. It is not possible to know which is stronger until both are broken, however.

Uberlurker. Been here since the Finney transaction. Please consider this before replying; there is a good chance I've heard it before.

-Citizenfive
Kazimir
Legendary
*
Offline Offline

Activity: 1176
Merit: 1003



View Profile
January 05, 2014, 11:17:41 AM
 #12

The devs can change the hashing protocol with a hard fork (if everyone accepts their new client of course,) but if they change from SHA 256 all the asic miners gonna be real pissed off because that would make their asics worthless over night because their asics cant do anything else, so there would be a lot of resistance.
Ehhh no, it's the NSA breaking SHA256 that pisses them off, not the devs taking necessary steps to keep Bitcoin alive.

What would piss off those asic miners more: their hardware becoming worthless because Bitcoin switched from SHA256 to something else, or their hardware AND all the precious bitcoins they mind becoming worthless because Bitcoin didn't switch and got effectively killed because SHA256 was broken?

Think. Miners deliberately take a risk by investing in mining hardware that could, theoretically, become worthless over night. To say it's extremely unlikely is still a vast understatement, but it's not impossible. Don't take that out on the devs.

In theory, there's no difference between theory and practice. In practice, there is.
Insert coin(s): 1KazimirL9MNcnFnoosGrEkmMsbYLxPPob
FenixRD
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


I am Citizenfive.


View Profile
January 05, 2014, 01:44:28 PM
 #13

The devs can change the hashing protocol with a hard fork (if everyone accepts their new client of course,) but if they change from SHA 256 all the asic miners gonna be real pissed off because that would make their asics worthless over night because their asics cant do anything else, so there would be a lot of resistance.
Ehhh no, it's the NSA breaking SHA256 that pisses them off, not the devs taking necessary steps to keep Bitcoin alive.

What would piss off those asic miners more: their hardware becoming worthless because Bitcoin switched from SHA256 to something else, or their hardware AND all the precious bitcoins they mind becoming worthless because Bitcoin didn't switch and got effectively killed because SHA256 was broken?

Think. Miners deliberately take a risk by investing in mining hardware that could, theoretically, become worthless over night. To say it's extremely unlikely is still a vast understatement, but it's not impossible. Don't take that out on the devs.

The logic is strong with this one.

Uberlurker. Been here since the Finney transaction. Please consider this before replying; there is a good chance I've heard it before.

-Citizenfive
Notanon
Sr. Member
****
Offline Offline

Activity: 388
Merit: 250



View Profile
January 05, 2014, 01:52:43 PM
 #14

The ASICs would then get pointed at altcoins that use SHA-256 protocols, such as Peercoins and Terracoins, provided they themselves don't switch as well.
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
January 05, 2014, 01:58:34 PM
 #15

Mining hardware has such a short life cycle that it would not be difficult to schedule a changeover.

1. Pick a suitable replacement hash function and announce it. Give the ASIC designers time to prepare new chips.

2. Pick a block where the changeover happens, far enough in the future that everybody has time to get new hardware and have it ready to go when the switch happens.

It could probably be done in a year without too much disruption. Usually hash functions don't fail all at once so that should be plenty of time.
wachtwoord
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
January 05, 2014, 02:02:50 PM
 #16

Switching Bitcoin protocol will be extremely difficult and risky. If petaflop power of currently implemented ASIC hardware is lost, the network would become so weak that it'd be vulnerable to anyone who can afford to spend $50ish-million on developing ASICs that use new protocol.

So switching is viable, but dangerous for the network until overall computational power is restored to the point where no single entity can easily amass 51% of hashrate. The 'problem' will worsen as time goes on and more SHA256 ASIC are added to network.

If this would be neccessary they would switch to a hashing algorithm for which ASICs are already out there. Yes, Litecoin could become Bitcoin's saviour in that (unlikely) scenario. It would probably also mean the (semi-) death of Litecoin because all the hashing power would leave.

Litecoin with Scrypt is kind of the backup redundancy of Bitcoin. I wish altcoins with alternate hashing algorithms be developed (instead of clones) and would gain sufficient popularity for ASICs to be developed. Redundancy's nice, but double redundancy's better Smiley
LiteCoinGuy
Legendary
*
Offline Offline

Activity: 1148
Merit: 1010


In Satoshi I Trust


View Profile WWW
January 05, 2014, 02:30:08 PM
 #17

Bitcoin could switch to scryp, most scrypt hashing power goes go
to bitcoin , other scrypt alts lose most of their scrypt hash power.
The biggest danger here is for alts  IMO if sha is broken.

You are either very confused about the mining, merged mining, and the relationship between scrypt-based chains and SHA-based chains, or I was unable to make any sense of what you wrote.

is Scrypt vulnerable like sha256 though?
Neither is vulnerable...

Or, put another way, both are just as vulnerable, in that there are not any major weaknesses known for either. Probably more attention is paid to SHA-256 which is used in regular banks and a million other places. If they are equally strong, SHA-256 would probably be broken first, in that case. It is not possible to know which is stronger until both are broken, however.


good to have some Litecoins  Cheesy

wachtwoord
Legendary
*
Offline Offline

Activity: 2324
Merit: 1125


View Profile
January 05, 2014, 02:32:06 PM
 #18

Bitcoin could switch to scryp, most scrypt hashing power goes go
to bitcoin , other scrypt alts lose most of their scrypt hash power.
The biggest danger here is for alts  IMO if sha is broken.

You are either very confused about the mining, merged mining, and the relationship between scrypt-based chains and SHA-based chains, or I was unable to make any sense of what you wrote.

is Scrypt vulnerable like sha256 though?
Neither is vulnerable...

Or, put another way, both are just as vulnerable, in that there are not any major weaknesses known for either. Probably more attention is paid to SHA-256 which is used in regular banks and a million other places. If they are equally strong, SHA-256 would probably be broken first, in that case. It is not possible to know which is stronger until both are broken, however.

good to have some Litecoins  Cheesy
Good to have some Scryt ASICs Wink
lnternet
Sr. Member
****
Offline Offline

Activity: 299
Merit: 253


View Profile
January 05, 2014, 02:39:43 PM
 #19

To answer the question, Bitcoin can change any part about it's protocol, if enough people accept that change.

To comment on cracking SHA-2, I suspect most people talking about this don't even understand what cracking a hash function means. If this were to happen however, there is a solid chance that all hashes at once get broken, and no Quark or Litecoin offers a solution.

1ntemetqbXokPSSkuHH4iuAJRTQMP6uJ9
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
January 05, 2014, 02:43:08 PM
 #20

To comment on cracking SHA-2, I suspect most people talking about this don't even understand what cracking a hash function means.
First preimage attack just means that mining gets easier. As soon as all the miners adopt the attack as part of their mining process then the difficulty just goes up and the network keeps working.

Second preimage attack is the scary one that opens up the possibility of editing history cheaply.
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!