Why Blockchains Need Cryptography
Blockchains use hashes to link blocks into an unbreakable chain and digital signatures to authorize moves. It's a ledger where history is protected by math rather than by a bank or government.
Analogy
"A public book where every page starts by summarizing the page before it. If you change a single word on page 1, the summaries on all 1,000 following pages will no longer match."
Key Properties
- Hashed Linking: Block N contains the hash of Block N-1.
- Immutability: You can't rewrite history without breaking the future.
- Trustless: We don't need to trust people; we trust the math.
Real World
Cryptocurrencies like Ethereum use these links to ensure that once a transaction is recorded, it can never be deleted or modified by anyone.
Interactive Simulation
The Immutability Link
In a blockchain, every block includes the Fingerprint (Hash) of the previous block. This creates a mathematical chain. If you change even one letter in the past, the fingerprints no longer match, and the entire chain breaks instantly.
Chain is Secure & Honest
Try editing any block to see it break.
Hashed Linking
Every block's input includes prev_hash. This makes the hash of Block N dependent on Block N-1.
Immutability
Changing a block requires re-calculating (mining) every single block that comes after it. This is computationally impossible to do quickly.
Consensus
Thousands of computers check these links every second. If your chain doesn't match the majority, it's rejected.