pull down to refresh
- Mining (Proof of Work): miners hash block headers
- Transaction IDs (txid): each transaction gets a unique SHA-256 hash
- Merkle tree construction (organizing transactions in blocks)
- Block hashes (each block header hashed twice)
- Extra security against length extension attacks
- Checksums in addresses
- Address generation:
RIPEMD160(SHA256(pubkey))
- Shortens 256-bit SHA-256 into 160-bit hash
- Used in P2PKH & P2SH addresses
- Key derivation in BIP32 (HD wallets)
- Secure key stretching
- BIP-324 encrypted P2P transport
- Secure key expansion from master keys
- Advanced key derivation
- Short IDs in Compact Block relay (BIP-152)
- DoS protection
- Fast hash for hash tables
- Prevents hash collision attacks
- Accumulators for UTXO set commitments (useful for AssumeUTXO, UTXO snapshots)
- Stream cipher for encrypting data
- Used in BIP324 (v2 P2P transport encryption)
- Works with ChaCha20 for authenticated encryption
- Ensures data integrity
- Not used in Bitcoin itself. It’s only needed for Tor v3 onion addresses (ed25519 → onion domain)