Bitcoin Forum
April 23, 2024, 07:35:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hash Algorithm AND BIP  (Read 1721 times)
RandomQ (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
July 14, 2012, 08:53:26 PM
Last edit: July 15, 2012, 12:07:37 AM by RandomQ
 #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
1713857737
Hero Member
*
Offline Offline

Posts: 1713857737

View Profile Personal Message (Offline)

Ignore
1713857737
Reply with quote  #2

1713857737
Report to moderator
1713857737
Hero Member
*
Offline Offline

Posts: 1713857737

View Profile Personal Message (Offline)

Ignore
1713857737
Reply with quote  #2

1713857737
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713857737
Hero Member
*
Offline Offline

Posts: 1713857737

View Profile Personal Message (Offline)

Ignore
1713857737
Reply with quote  #2

1713857737
Report to moderator
1713857737
Hero Member
*
Offline Offline

Posts: 1713857737

View Profile Personal Message (Offline)

Ignore
1713857737
Reply with quote  #2

1713857737
Report to moderator
maaku
Legendary
*
expert
Offline Offline

Activity: 905
Merit: 1011


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 (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



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."
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


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, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12873


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
*
Offline Offline

Activity: 5180
Merit: 12873


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 (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



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?
RandomQ (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
July 14, 2012, 11:53:19 PM
Last edit: July 15, 2012, 12:07:21 AM by RandomQ
 #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
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


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, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
RandomQ (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
July 15, 2012, 12:47:29 AM
Last edit: July 15, 2012, 01:03:16 AM by RandomQ
 #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.

Pages: [1]
  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!