DML School of Technology
Menu

Open to everyone Reading, lesson 50 of 100, 2 min read

Cryptography in everyday life

Where you meet cryptography every day

You do thisCryptography involved
Unlock your phoneThe PIN unlocks keys that decrypt the phone's storage
Send a WhatsApp messageEnd-to-end encryption: only the two phones hold the keys
Visit your bank's websiteTLS with certificates
Install an app or updateThe maker's digital signature is checked
Sign in to a websiteYour password is checked against a salted, slow hash
Pay with a bank cardChip cards use keys stored on the chip to sign each transaction

End-to-end versus in transit

  • Encrypted in transit: protected between your device and the service, but the service can read it (most email, most cloud storage).
  • End-to-end encrypted: only the people talking hold the keys; the service in the middle cannot read the content.

Know which you are using before sending something sensitive.

How cryptography fails in real life

Algorithms are rarely broken. Failures usually come from:

  • weak passwords protecting strong keys;
  • lost or leaked keys: private keys committed to public code repositories, or stored next to the data;
  • old protocols left switched on (SSL 3, TLS 1.0, old Wi-Fi standards);
  • ignored certificate warnings;
  • home-made cryptography written by developers who are not specialists;
  • poor randomness: keys generated from predictable values.

Looking ahead: quantum computers

Large quantum computers, if they are built, could break today's public-key algorithms (RSA, elliptic curves), though not strong symmetric encryption like AES-256. Standards bodies have published post-quantum algorithms, and major software is beginning to adopt them. For now, the practical advice is to keep software updated so it moves to new algorithms when they arrive.

Tip

The safest cryptography decision most people make is simply to use well-known, up-to-date software and never switch off its warnings.