If you’ve ever “encrypted a file,” the algorithm was almost certainly AES. If you’ve read about encryption history, you’ve met its predecessor DES — and the story of the handoff explains a lot about how cryptography matures.
The two standards
- DES (Data Encryption Standard, 1977): a 56-bit key — fine for the 1970s, fatal by the 1990s as computers sped up. The EFF built a machine that brute-forced DES in days, in 1998, for $250,000. Today it’s crackable in minutes.
- AES (Advanced Encryption Standard, 2001): the replacement, chosen in a public competition. Keys of 128, 192, or 256 bits — a 256-bit key has more combinations than there are atoms in the observable universe.
The concepts that matter more than the math
- Symmetric encryption: one key both encrypts and decrypts. AES and DES are both symmetric — fast, but the key must be shared securely.
- The key is the security: the algorithm is public; the strength is entirely in the key. A weak key defeats the strongest algorithm.
- Modes matter: AES isn’t one algorithm — it runs in modes (CBC, GCM…). Some modes authenticate, some don’t. Using AES in the wrong mode is a classic security hole that “encryption” can’t paper over.
Encrypting locally
The AES/DES tool encrypts and decrypts text in your browser with a key you provide — nothing is transmitted, which is the point: sensitive text can be protected without trusting a server.
The honest rules
- Use AES, not DES — DES is a historical artifact for learning, not for protecting anything.
- Treat the key like the secret it is — anyone with the key reads everything.
- For real products, use a library’s high-level crypto, not raw AES — key management and modes are where amateurs break things.
Encryption is the rare field where “old” means “broken” and “standard” means “survived decades of attack.” Choose accordingly.