Why Cryptography Matters
The CIA Triad and Kerckhoffs's Principle
Cryptography is the invisible infrastructure of the digital world — the science that lets us build trust in an untrusted environment. Without it the internet could host public reading material, but never banking, shopping, or private conversation.
The CIA Triad
Cryptography isn't just hiding messages. It's a toolbox for three specific problems:
Confidentiality
Only authorized parties can read the data — a sealed envelope the carrier delivers but can't open.
Integrity
The data hasn't been altered in transit — a wax seal that shows if anyone tampered with it.
Authentication
You can prove who you're talking to — a signature or passport, origin made mathematically verifiable.
Kerckhoffs's Principle
In 1883 Auguste Kerckhoffs set the rule modern security still follows: a system must stay secure even if everything about it except the key is public. AES and are open-source — the secrecy lives entirely in the key. Because the algorithms are public, thousands of mathematicians attack them daily, and surviving that scrutiny is what earns trust.
Never invent your own cryptography. Always use standard, public, peer-reviewed algorithms.
Key Takeaways
- Cryptography solves three problems: confidentiality, integrity, and authentication (the CIA Triad)
- Kerckhoffs's Principle: security must depend on the key, not the secrecy of the algorithm
- Never invent your own cryptography — always use standard, peer-reviewed algorithms