1. The Digital Fingerprint
Creating a unique ID for information.
Think of hashing like a magical text grinder. You can put any amount of words into it—a single name, a sentence, or an entire book. The grinder mixes it up and spits out a unique code that is always the exact same length.
This unique code is called a Hash. It acts like a digital fingerprint for your data.
Lab 1: Try the Butterfly Effect
Try adding a single dot to your message above and watch how the entire fingerprint changes!
2. What Exactly Is a Block?
The digital box that holds information.
Think of a block simply as a secure digital box. Instead of storing data randomly, a blockchain packs data neatly into these boxes.
Each box usually contains:
- Data: The actual information (like "Alice paid Bob $5").
- Previous Link: The fingerprint of the box that came right before it.
- Nonce: A random "magic number" (we'll explain this next!).
A blockchain is literally just a chain of these digital boxes linked together forever.
Inside a Block
#1024
Alice gave Bob 50 Coins
000af9c1e3b2...
35230
0000c91a4f88e0a91d7d0d3b...
3. The Guessing Game (Mining)
Securing the box with hard work.
We can't just let anyone create boxes instantly, otherwise bad guys could flood the system. So, the blockchain makes a rule: A box is only valid if its final fingerprint starts with '0000'.
Since you can't change the actual data to alter the fingerprint, we add a dummy number called the Nonce. Mining is just a computer rapidly guessing different Nonce numbers (1, 2, 3...) until it luckily creates a fingerprint that starts with four zeros!
Lab 2: Mine Your Own Block
4. Linking the Chain
Why you can't cheat the system.
This is the true genius of blockchain. Each box stores the fingerprint of the box right before it.
Box 1
The StartBox 2
Box 3
5. The Team Vote (Consensus)
Why no single person owns the chain.
The final piece of the puzzle: the blockchain doesn't live on just one computer. Exact copies are kept on thousands of different computers around the world.
You've got the basics down!
You now understand fingerprints (hashes), digital boxes (blocks), guessing games (mining), and group voting (consensus).
Ready to go deeper?
Launch the full-scale Distributed Ledger Simulator. Observe how 3 peers maintain consensus across 5 chained blocks in real-time, and what happens when you try to hack one.
Launch Simulator