What to do in case of hash collision?

Let’s ignore malicious attacks and possible weaknesses in SHA256. If IPFS aims to be planet scale, it should have a way to handle accidental collisions. What happens when there is a collision? How is it identified and handled? Can we switch the colliding objects to a different hash function?

1 Like