Cryptography in Bitcoin
11 min readinteractiveIncludes quiz · 5 questions
Cryptography is the mathematical foundation that makes Bitcoin secure. Let's explore the key cryptographic concepts.
Hash Functions (SHA-256):
- •Converts any input into a fixed 256-bit output
- •One-way function (can't reverse)
- •Deterministic (same input = same output)
- •Avalanche effect (tiny change = completely different output)
- •Used for mining and creating block chains
Digital Signatures (ECDSA):
- •Proves ownership without revealing private key
- •Creates unforgeable signatures
- •Anyone can verify with public key
- •Each transaction must be signed
- •Ensures only the owner can spend Bitcoin
Merkle Trees:
- •Efficiently summarize all transactions in a block
- •Allow lightweight verification
- •Enable SPV wallets
- •Create a tamper-evident structure
Test Your Knowledge
This lesson includes a 5-question quiz (passing score: 80%).
Quiz functionality available in the mobile app.