|
|
|
|
|
by qnr
4710 days ago
|
|
Indeed, bitcoin is like a cryptography competition with ridiculously huge prize. 1. Break SHA2 -> control bitcoin generation ($2500 each generated block at current prices) 2. Break ECDSA -> unlock any addresses that have ever sent money on the blockchain 3. Break ECDSA+SHA2+RIPEMD160 -> break ALL addresses, even those that have never sent money. Incidentally, the difference between 2 and 3 is why it is not recommended to reuse bitcoin addresses. |
|
A near-collision attack on double SHA256 (if you treat it as a single hash not a pair of independent hashes) would also crash bitcoin, but would not necessarily be a threat to use of SHA256 for authentication purposes.
A bitcoin block solution just needs the hash to include enough leading zeros. Authentication (nearly always being automated) requires every bit to match - hitting 255 of 256 bits is no better than hitting 0 bits, as either way your message will be rejected.