The Locks That Hold the Internet

Putting It Together: What Happens When You Visit a Website

Part 7 of 21

Let's assemble the machine and watch it work. You type your bank's address into your browser. Within a fraction of a second:

  1. Your browser contacts the bank's server and says hello, listing the encryption methods it knows.
  2. The server shows its certificate — a document signed by a certificate authority proving the server really is your bank. Your browser checks the signature automatically.
  3. Key agreement happens: using the paint-mixing math (elliptic-curve Diffie-Hellman), browser and server publicly negotiate a one-time secret key. An eavesdropper watching this exchange learns nothing usable.
  4. Both sides now share an AES-256 key for this session only, and the actual traffic — your password, your balance, your transfers — flows encrypted with fast symmetric encryption.
  5. When the session ends, the key is deleted. It was never written down anywhere, never transmitted intact, and exists only in the memory of your browser and the bank's server.

This whole dance is called TLS (Transport Layer Security) — the padlock icon. The design goal is forward secrecy: even if the bank's long-term private key is stolen next year, your past sessions stay safe, because each session was protected by a throwaway key that has already been destroyed.

Similar architectures protect everything else:

  • SSH, the protocol used to administer servers remotely (used by every IT department and every self-respecting developer), does the same dance: certificate check, key agreement, then symmetric encryption.
  • VPNs like WireGuard (and Tailscale, which is built on it): same pattern.
  • Messaging apps add another layer called end-to-end encryption: the keys exist only on your phone and the recipient's phone, so even the operator of the service cannot read the messages.

Now, the vulnerability map in one sentence: in all of these systems, the symmetric part (step 4) is strong; the public-key part (steps 2 and 3) is what rests on math that quantum computers — and possibly AI — can break.

And the exposure is asymmetric in a way most people don't expect:

  • The key agreement (step 3) is exposed retroactively. Record the transcript today, decrypt it when the math breaks. Nobody has to do anything clever now.
  • The signatures (step 2) are exposed in place — on the certificates, in the software archives, in the blockchain.

All modern security is a sandwich: public-key math to set up, symmetric math to protect, keys thrown away after use. The setup step is the one that can be broken retroactively from recorded traffic.