Blockchain hashing and proof of work
SHA-256 in Bitcoin's proof of work, block and transaction ids, Merkle trees and addresses.
Bitcoin's proof of work, block and transaction ids and Merkle trees all use SHA-256, so the ledger's integrity rests on one hash functionbitcoin.org 2008record: In Bitcoin SHA-256 is used for mining, transaction IDs, transaction signing (message hashing), checksums, and with RIPEMD-160 for public key hashes (HASH-160).. Collisions matter less here than preimages: a collision lets two parties disagree about what was committed, which is why SegWit moved script hashes from 160 to 256 bits, while a preimage break would let an attacker rewrite what hashes commit toBitcoin Improvement Prop… 2015. Changing the hash function would need a hard fork.
Under each scenario
| Scenario, at its defaults | Peak | Reached | Recovers |
|---|---|---|---|
| A quantum computer breaks public-key cryptography | 0% | not within 10 yr | Unaffected |
| A classical break of an elliptic curve | 0% | not within 10 yr | Unaffected |
| SHA-256 collisions become practical Forged actions irreversible | 70% | 1 wk | Decades |
| SHA-256 preimages become practical Forged actions irreversible | 100% | 1 wk | Decades |
| A practical attack on AES | 0% | not within 10 yr | Unaffected |
| A post-quantum standard falls after migration | 0% | not within 10 yr | Unaffected |
| Randomness fails at scale | 0% | not within 10 yr | Unaffected |
| A dominant crypto library fails | 0% | not within 10 yr | Unaffected |
| A root of trust is compromised | 0% | not within 10 yr | Unaffected |
Model Central runs. Open a scenario to change its assumptions.
What keeps it authentic A
ledger hashing
Its numbers
Actions accepted on a forgery cannot be undone.
On the record
- Record In Bitcoin SHA-256 is used for mining, transaction IDs, transaction signing (message hashing), checksums, and with RIPEMD-160 for public key hashes (HASH-160). Chaincode Labs 2025