What is Hashing?
- Daniel Howell

- Jun 29
- 2 min read
Hashing is at the heart of bitcoin, but what is it exactly? Let's unpack it.
AI Summary
This video explores the fundamental role of **SHA-256 hashing** in the *Bitcoin* network. It explains how this cryptographic process serves as a "quiet hero" that ensures security and immutability.
### **Key Concepts of SHA-256:**
* **Definition:** A mathematical formula that converts any size of input data into a **fixed-length output** (256 bits, or 64 hexadecimal characters) (0:33 - 0:58).
* **Deterministic & One-Way:** Every unique input produces a unique output, but the process is irreversible; you cannot derive the original input from the hash (1:14 - 1:32).
* **Avalanche Effect:** Even the slightest change to the input data results in a completely different hash output (1:51 - 2:16).
### **Applications in Bitcoin:**
1. **Mining (2:22 - 4:07):** Miners use SHA-256 to solve complex puzzles by finding a hash below a specific target value. This "Proof of Work" consumes energy and secures the network.
2. **Bitcoin Addresses (4:07 - 4:25):** Hashing is used to convert public keys into shorter, user-friendly wallet addresses.
3. **Merkle Trees (4:25 - 4:54):** Transactions are hashed in pairs to create a "Merkle Root," allowing for efficient verification of data without needing to download every transaction.
4. **Wallet Fingerprints (4:54 - 5:20):** A unique identifier for a wallet, derived from the first eight hexadecimal characters of the public key's hash.
### **Why It Matters:**
SHA-256 makes the *Bitcoin* blockchain **immutable** (5:22 - 6:04). Because changing any past transaction would alter every subsequent block's hash, it becomes computationally impossible to tamper with the ledger, ensuring that transactions are permanently settled once they are sufficiently buried in the chain.


Comments