Bitcoin Forum
May 08, 2024, 02:50:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: SHA256 Collision Attack  (Read 13522 times)
SHA256Collision (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 06, 2012, 09:50:31 AM
Last edit: June 06, 2012, 10:05:11 AM by SHA256Collision
 #1

<redacted>
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
hamdi
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
June 06, 2012, 10:36:28 AM
 #2

i know one collision
Kazimir
Legendary
*
Offline Offline

Activity: 1176
Merit: 1003



View Profile
June 06, 2012, 11:30:16 AM
 #3

i know one collision
I'm willing to bet 1000 BTC that you don't.

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

Activity: 560
Merit: 500



View Profile
June 06, 2012, 12:22:04 PM
 #4

i know one collision
I'm willing to bet 1000 BTC that you don't.

Me to.

Me thre.
mistfpga
Member
**
Offline Offline

Activity: 86
Merit: 13


View Profile
June 06, 2012, 12:51:09 PM
 #5



so let me get this straight, I give you two inputs that after going through the sha256 alg they produce the same output? and i get 3k btc?

this is a joke right?
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


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


View Profile
June 06, 2012, 01:30:28 PM
 #6

No it isn't

Find a collision, c'mon  Wink

pieppiep
Hero Member
*****
Offline Offline

Activity: 1596
Merit: 502


View Profile
June 06, 2012, 02:02:48 PM
 #7

Collisions in sha256 are possible, but at the moment only in 2^256 operations or 2^128 operations if you have enough memory for a birthday attack.
I'm sure some day a faster way to find collisions will be found, just like happened with md5.
But I'm also willing to bet another 10 BTC (I'm just not as rich as others) it won't happen this year.
Kazimir
Legendary
*
Offline Offline

Activity: 1176
Merit: 1003



View Profile
June 06, 2012, 02:53:18 PM
 #8

so let me get this straight, I give you two inputs
(just to emphasize the obvious: two different inputs - not just different in notation, but different in terms of the binary data they represent)

Quote
that after going through the sha256 alg they produce the same output? and i get 3k btc?
No, 6k.

1k from me, 2k from Fordy, and 3k from Fuzzy Smiley

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

Activity: 1148
Merit: 1008


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


View Profile
June 06, 2012, 03:59:41 PM
 #9

C'mon mistfpga we are waiting. Where is that collision?  Cheesy

wareen
Millionaire
Legendary
*
Offline Offline

Activity: 910
Merit: 1001

Revolutionizing Brokerage of Personal Data


View Profile
June 06, 2012, 05:00:08 PM
 #10

so let me get this straight, I give you two inputs that after going through the sha256 alg they produce the same output? and i get 3k btc?

this is a joke right?
No, that's collision resistance of cryptographically secure hash functions Wink

If I were you, I wouldn't settle for 6k BTC if you've actually broken SHA256

        ▄▄▀▀▄▄
    ▄▄▀▀▄▄██▄▄▀▀▄▄
▄▄▀▀▄▄█████▄████▄▄▀▀▄▄
█▀▀█▄█████████████
█▄▄████▀   ▀██████
███████     █▄████
█████▀█▄   ▄██████
█▄█████▌   ▐█████
█████▀█     ██████
██▄███████████████
▀▀▄▄▀▀█████▀████▀▀▄▄▀▀
    ▀▀▄▄▀▀██▀▀▄▄▀▀
        ▀▀▄▄▀▀
.PDATA..
.
TOKEN..
██
██
██   ██
██   ██
██   ██
██   ██
██   ██
██   ██

██   ██
██   ██

██   ██
██
██
██
██
██  ██
██  ██
██  ██
██  ██
██  ██
██  ██

██  ██
██  ██

██  ██
██
██
██
██
██   ██
██   ██
██   ██
██   ██
██   ██
██   ██

██   ██
██   ██

██   ██
██
██
TELEGRAM     BITCOINTALK     FACEBOOK
MEDIUM    SLACK    TWITTER    YOUTUBE
▬▬▬▬▬▬▬   E M A I L   ▬▬▬▬▬▬▬
██
██
██  ██
██  ██
██  ██
██  ██
██  ██
██  ██

██  ██
██  ██

██  ██
██
██
Kazimir
Legendary
*
Offline Offline

Activity: 1176
Merit: 1003



View Profile
June 06, 2012, 05:13:22 PM
 #11

No, that's collision resistance of cryptographically secure hash functions Wink

If I were you, I wouldn't settle for 6k BTC if you've actually broken SHA256
Note that finding 1 collision (which nobody ever managed to pull off so far, but could happen by chance although extremely unlikely) is by no means breaking sha256.

Breaking sha256 = finding a method that, for any given sha256 hash (or a significant portion of all possible sha256 hashes), can generate data (within reasonable time) which has the given sha256 hash.

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

Activity: 1596
Merit: 502


View Profile
June 06, 2012, 08:25:53 PM
 #12

No, that's collision resistance of cryptographically secure hash functions Wink

If I were you, I wouldn't settle for 6k BTC if you've actually broken SHA256
Note that finding 1 collision (which nobody ever managed to pull off so far, but could happen by chance although extremely unlikely) is by no means breaking sha256.

Breaking sha256 = finding a method that, for any given sha256 hash (or a significant portion of all possible sha256 hashes), can generate data (within reasonable time) which has the given sha256 hash.

Add one little thing, it must be faster than brute force Smiley
Kazimir
Legendary
*
Offline Offline

Activity: 1176
Merit: 1003



View Profile
June 06, 2012, 10:07:40 PM
 #13

I'll post the research paper once more, soon. 6K if it can be used to compute hashes faster, was it?
"Faster" as in "within reasonable time". Not as in: reducing the number of expected attempts from 2255 to 2243 or something, cause that's still way beyond reasonable and wouldn't make sha256 significantly less secure.

Allow me to throw in some numbers. If we were to use brute force only, without any trickery or sha256-specific attacks, there are 2256 possible hashes and by average we'd have to do 2256/2 = 2255 ≈5.8×1076 attempts to find a collision. When using, say, this $15,295 mining rig which does 25.2 GigaHash/s, it would take ±2.3×1066 seconds ≈7.3×1058 years. For your reference: the current age of the universe is estimated at a mere 1.37×1010 years Smiley

So, even if you could speed up the computation of hashes by a trillion times (which would be quite an impressive achievement) it would take you 5328467153284670278835433757793583104 times the age of the universe to find a hit.

Let's put it otherwise: can you post a single collision (two different pieces of data having the same sha256 hash) somewhere later this month? Good luck sir Wink

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

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
June 07, 2012, 12:58:34 AM
 #14

Even better, is the practical application of finding a collision. That is, get the private key of a public key that has a lot of bitcoins in it. Then cash out. This will be advertised all over the media as a hack or a theft, and everyone will know about it.

Or, mine a block every 10 minutes (don't make it every minute or else people will get suspicious.) and keep the rewards. This will go unnoticed for a few days or a few weeks, depends on several other factors. So you can get BTC 5k every day or something like that.

Or, get the private keys of several public keys, do some salami slicing (get 0.01 BTC from every address). Then cash out. This will be broadcast all over the media eventually, after someone figures out what's happening, but it can take awhile, or people will not notice they just lost 0.01 BTC and not pay attention. This is feasible only if you have actually broken SHA256 and can get several targeted collisions on several bitcoin addresses.

Soultaker
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 07, 2012, 01:05:06 AM
 #15

Dabs: SHA-256 isn't used to sign transactions. You can't use it to steal money directly. You could exploit weaknesses by forking the blockchain, or, more practical, just earn a lot of BitCoins by mining at a not-too-suspicious rate. Even then, you need something better than just the ability to find a random collision.
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
June 08, 2012, 04:07:19 AM
 #16

doh. I confused SHA256 with the ECDSA keypair. But what I meant applies to whoever breaks whatever algorithm. Just mine bitcoins. You'd get 5000 a day easy if you broke SHA.

pieppiep
Hero Member
*****
Offline Offline

Activity: 1596
Merit: 502


View Profile
June 08, 2012, 05:16:29 AM
 #17

5000 is a little to much I think, only 24*6*50 = 7200 / day are mined, so 5000 is almost 70% of total.
If you just mine 5% it is 360 BTC, somewhere like $1800 a day, it is much harder to notice so the chance of someone finding out is much less likely.
drakahn
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
June 08, 2012, 05:56:59 AM
 #18

If you break SHA the best thing to do would be to quietly let gavin know and wait for bitcoin to be fixed with an announcement that you broke it and were responsible for no one being ripped off because you only let gavin know, and the BTC "thankyou" payments will start rolling in

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
June 08, 2012, 06:01:11 AM
 #19

360 BTC is probably also all you could possibly mine unless you really really broke SHA.

The best thing is indeed to tell Gavin. The next best thing is tell him after a few days (and say you were testing it.)

Kazimir
Legendary
*
Offline Offline

Activity: 1176
Merit: 1003



View Profile
June 24, 2012, 11:37:29 AM
 #20

Let's put it otherwise: can you post a single collision (two different pieces of data having the same sha256 hash) somewhere later this month? Good luck sir Wink
Any news on this? Smiley

In theory, there's no difference between theory and practice. In practice, there is.
Insert coin(s): 1KazimirL9MNcnFnoosGrEkmMsbYLxPPob
Pages: [1] 2 3 »  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!