๐ Cryptography
Why cryptography matters
Bitcoin has no login, no password reset, and no fraud department. What it has instead is cryptography: mathematics that makes ownership provable and forgery practically impossible. Three ideas do almost all the work.
Public and private keys
Every bitcoin balance is controlled by a key pair. The private key is a secret number only you know โ whoever has it can spend the coins, which is why wallet security is really private-key security. The public key is derived from it and can be shared freely; your receiving address is essentially a fingerprint of it. The math is a one-way street: deriving the public key from the private one is instant, but reversing it would take longer than the age of the universe.
Digital signatures
When you spend bitcoin, your wallet uses your private key to produce a digital signature over the transaction. Anyone can verify with your public key that the signature is genuine โ that the owner authorized exactly this transaction โ without ever seeing the private key itself. It's how you prove ownership while giving nothing away.
Hash functions
A hash function turns any data into a short, fixed-length fingerprint. Change one character of the input and the fingerprint changes completely. Bitcoin uses hashes (SHA-256) everywhere: to link blocks into the blockchain, to create the puzzle miners race to solve, and to verify that data hasn't been tampered with.
The takeaway
None of this cryptography is exotic โ banks and websites use the same primitives. Bitcoin's innovation was combining them so that only cryptography stands between you and your money: no institution required, and no institution to appeal to. Powerful and unforgiving in equal measure.
Related: Wallets ยท The Blockchain ยท How to Store Bitcoin Safely
