Type any text and see how SHA256 creates a unique "fingerprint" hash!
✍️ Your Text:
🔐 SHA256 Hash:
Type something above to see the magic happen!
🤔 What's happening?
SHA256 always creates the same hash for the same input. Change even one letter and the whole hash changes completely! This is how Bitcoin ensures security.
💸 Transaction Hashing
See how Bitcoin transactions get hashed into blocks!
🏫 Block 1 Transactions:
Instructor → Student 1: 50 BTC (fee: 0.5 BTC)
Student 2 → Student 6: 40 BTC (fee: 0.8 BTC)
Miner reward: 3.125 BTC
📋 Block Data:
Click the button above to see the block data!
🔐 Block Hash:
Block hash will appear here!
🎲 The Magic of Nonce
Watch how changing the nonce changes the entire hash!
The nonce is a "number used once." Miners change this number to get different hashes until they find one that meets the target difficulty!
⛏️ Mine a Bitcoin Block!
Try to find a hash that starts with "0" - this is mining!
Mining Nonce: 0
📦 Block 3 to Mine:
Student 2 → Teacher: 300 BTC (fee: 0.1 BTC)
Student 5 → Student 6: 20 BTC (fee: 0.8 BTC)
Miner reward: 3.125 BTC
🎯 Target: Hash must start with "0"
Start mining to see the hash!
🎉 YES WE WON THE BLOCK! 🎉 🏆💎🪙
🏆 Mining Explained:
In real Bitcoin, miners compete to find a hash that meets the difficulty target. The first one to find it wins the block reward! Our target is "0" at the start - much easier than real Bitcoin!
⛓️ Mine the Blockchain
Mine blocks one by one and watch the blockchain grow!
🔗 How It Works:
Mine Block 1 first, then its hash becomes the "Previous Block" for Block 2. Keep mining to build the chain!
Each block's hash becomes part of the next block. This creates an unbreakable chain where changing any old block would require re-mining ALL blocks that follow!