<p>No hash function has ever been broken in a way that would be meaningfully have an impact to Bitcoin. It’s not even a consideration, other than  for <code>OP_SHA1</code> which has no non-academic usage in Bitcoin.</p>

CC BY-SA 4.0
2020-06-22T21:33:50.610Z
Some cryptographers thinks that is matter of time to find a collision a in SHA256. I know won't be soon, but what will happen when that collision be found? a Hard Fork?
mengeroshi
CC BY-SA 4.0
2020-06-22T21:36:50.383Z
Nowhere in Bitcoin would a SHA256 collision actually matter.
Claris
CC BY-SA 4.0
2020-06-22T21:21:20.670Z
2020-06-22T21:21:20.670Z
Claris
<p>Would the protocol migrate to another Hash Algorithm inmediatly?
What would be the next? SHA3 or BLAKE 2?</p>

<hash><consensus><sha256><governance>
What will happen when a collision in SHA256 be found?
mengeroshi
# What will happen when a collision in SHA256 be found?

(Asked by: username_0 on 2020-06-22)

Would the protocol migrate to another Hash Algorithm inmediatly?
What would be the next? SHA3 or BLAKE 2?

**Tags:** hash, consensus, sha256, governance


---

## 1 answers

### Answer by username_1 on 2020-06-22. Score: 1 | Accepted answer

No hash function has ever been broken in a way that would be meaningfully have an impact to Bitcoin. It’s not even a consideration, other than for `OP_SHA1` which has no non-academic usage in Bitcoin.

> **Comments:**
> **username_0**: Some cryptographers thinks that is matter of time to find a collision a in SHA256. I know won't be soon, but what will happen when that collision be found? a Hard Fork?  
> **username_1**: Nowhere in Bitcoin would a SHA256 collision actually matter.  

---

