Bitcoin Forum
December 08, 2016, 12:09:02 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Hash Algorithm AND BIP  (Read 1046 times)
RandomQ
Hero Member
*****
Offline Offline

Activity: 616



View Profile
July 14, 2012, 08:53:26 PM
 #1

Can the BIP Process be used to switch the client from SHA-2(SHA-256) to SHA-3 in the future( Go JH!) ? or any other algorithm.

I've been reading a few post about people thinking SHA-256 is going to last another 10 years?

I wanted to see what other people think?



I edited the orginal post title from SHA-3 to Hash Algorithm

Bitcoin To Cash LLC Receive cash in the mail for Bitcoin!
[CryptoStocks] GREEN - GreenBTC - Mining Company on CryptoStocks
1481198942
Hero Member
*
Offline Offline

Posts: 1481198942

View Profile Personal Message (Offline)

Ignore
1481198942
Reply with quote  #2

1481198942
Report to moderator
1481198942
Hero Member
*
Offline Offline

Posts: 1481198942

View Profile Personal Message (Offline)

Ignore
1481198942
Reply with quote  #2

1481198942
Report to moderator
1481198942
Hero Member
*
Offline Offline

Posts: 1481198942

View Profile Personal Message (Offline)

Ignore
1481198942
Reply with quote  #2

1481198942
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481198942
Hero Member
*
Offline Offline

Posts: 1481198942

View Profile Personal Message (Offline)

Ignore
1481198942
Reply with quote  #2

1481198942
Report to moderator
1481198942
Hero Member
*
Offline Offline

Posts: 1481198942

View Profile Personal Message (Offline)

Ignore
1481198942
Reply with quote  #2

1481198942
Report to moderator
1481198942
Hero Member
*
Offline Offline

Posts: 1481198942

View Profile Personal Message (Offline)

Ignore
1481198942
Reply with quote  #2

1481198942
Report to moderator
maaku
Legendary
*
expert
Offline Offline

Activity: 905


View Profile
July 14, 2012, 10:52:10 PM
 #2

Quote
I've been reading a few post about people thinking SHA-256 is going to last another 10 years?
Not sure where you heard that. SHA-2 will last a thousand years if it is secure. It could be dethroned overnight if a new attack is found. Though unlikely, it could end up that SHA-3 is attacked before SHA-2.

Ultimately there should be a set of procedures for switching the community from one hash algorithm to another, but there's really no reason to do it proactively.

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
RandomQ
Hero Member
*****
Offline Offline

Activity: 616



View Profile
July 14, 2012, 11:16:04 PM
 #3

SHA-0 was published in 1993
SHA-1 was published in 1995
SHA-2 was published in 2001

How long before SHA-2 was published was it designed? 1.3,5,10 years?
How long before it was published was it cracked?

But back to the topic on hand.

Quote
Ultimately there should be a set of procedures for switching the community from one hash algorithm to another, but there's really no reason to do it proactively.

Do you think it should be done proactively to increase the bit count IE 256 to 512 to 1024?
IE SHA 256 to SHA 512?


A quote I found online about this topic

"I don’t have much to say about Bitcoin, but I do find it interesting that, however briefly, there exists a direct monetary incentive to break SHA-256. To my knowledge, there is no provision for changing the cryptographic hash function for Bitcoin."

Bitcoin To Cash LLC Receive cash in the mail for Bitcoin!
[CryptoStocks] GREEN - GreenBTC - Mining Company on CryptoStocks
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
July 14, 2012, 11:27:50 PM
 #4


Well, for one, SHA-3 does not exist.

In general, bitcoin users and miners may collectively choose to do anything they wish.

Changing the hash algorithm is a "hard fork" that makes new bitcoins unspendable by old clients, and therefore, is a change only undertaken under the most dire of circumstances.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2506


View Profile
July 14, 2012, 11:33:46 PM
 #5

SHA-256 is very strong.  It's not like the incremental step from MD5 to SHA1.  It can last several decades unless there's some massive breakthrough attack.

If SHA-256 became completely broken, I think we could come to some agreement about what the honest block chain was before the trouble started, lock that in and continue from there with a new hash function.

If the hash breakdown came gradually, we could transition to a new hash in an orderly way.  The software would be programmed to start using a new hash after a certain block number.  Everyone would have to upgrade by that time.  The software could save the new hash of all the old blocks to make sure a different block with the same old hash can't be used.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2506


View Profile
July 14, 2012, 11:35:00 PM
 #6

Ultimately there should be a set of procedures for switching the community from one hash algorithm to another

https://en.bitcoin.it/wiki/Contingency_plans#SHA-256_is_broken

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
RandomQ
Hero Member
*****
Offline Offline

Activity: 616



View Profile
July 14, 2012, 11:51:59 PM
 #7

Ultimately there should be a set of procedures for switching the community from one hash algorithm to another

https://en.bitcoin.it/wiki/Contingency_plans#SHA-256_is_broken

BIP34 creates Version 2 of the blockchain and the process of switching from Version 1 to Version 2

---------------------------------------
Lets say we are at 95% of miners using blockchain version 2

Lets say there is a weakness found in SHA-256

Lets just say 51% of the network uses devices that can only DO SHA-256.

And its in there best interest to not change the algorithm because there hardware would no longer work with a changed algorithm.

Would it be possible to force a blockchain change without having the processing power to backup that block chain switch?

Bitcoin To Cash LLC Receive cash in the mail for Bitcoin!
[CryptoStocks] GREEN - GreenBTC - Mining Company on CryptoStocks
RandomQ
Hero Member
*****
Offline Offline

Activity: 616



View Profile
July 14, 2012, 11:53:19 PM
 #8


Well, for one, SHA-3 does not exist.


Not till the end of the year.... Go JH! lol

But you can throw any algorithm name in the title...whirlpool

I was just using SHA-3 as an example

I edited the orginal post title from SHA-3 to Hash Algorithm

Bitcoin To Cash LLC Receive cash in the mail for Bitcoin!
[CryptoStocks] GREEN - GreenBTC - Mining Company on CryptoStocks
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
July 15, 2012, 12:28:19 AM
 #9

Would it be possible to force a blockchain change without having the processing power to backup that block chain switch?

There is no "force", there is choice.  Each user chooses the software they run to validate the chain.  If a majority of users choose to switch to SHA-512, that is what will happen, regardless of the number of miners who switch.

51% hashing power, or even 90%, means nothing if clients collectively refuse to accept and relay your blocks.


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
RandomQ
Hero Member
*****
Offline Offline

Activity: 616



View Profile
July 15, 2012, 12:47:29 AM
 #10

Would it be possible to force a blockchain change without having the processing power to backup that block chain switch?

There is no "force", there is choice.  Each user chooses the software they run to validate the chain.  If a majority of users choose to switch to SHA-512, that is what will happen, regardless of the number of miners who switch.

51% hashing power, or even 90%, means nothing if clients collectively refuse to accept and relay your blocks.




I was thinking it terms of miners/hardware/etc. 51% computing Power.

But I should be thinking about clients, because it all depends on the amount of clients that switched and computer power doesn't matter.


Bitcoin To Cash LLC Receive cash in the mail for Bitcoin!
[CryptoStocks] GREEN - GreenBTC - Mining Company on CryptoStocks
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!