secrets on the wire

about the project

About Secrets on the Wire and its author

Secrets on the Wire is an interactive story about how TLS and cryptography work, made by Asim K T. How it was made, how to cite it and how to report errors.

Secrets on the Wire is an interactive story about how data stays private on the internet, written for engineers who learned some of this years ago and want the whole picture back. This page explains what the project is, who makes it, how it was built and how to cite or correct it.

Who makes it

Asim K T builds software and writes explainers about how things work under the hood. Secrets on the Wire is one of those explainers.

What the project is

The main page is a slide story in 20 chapters. It starts with a copper wire between two computers and builds, one idea at a time, to TLS 1.3, RSA, Diffie-Hellman, elliptic curves and post-quantum cryptography. Every new mechanism appears because the previous one had a problem the reader has just seen, and the maths is worked with small numbers that can be checked by hand. Most slides carry a small interactive figure, so you can change a number and watch the result change.

The articles on this site are companions to that story. Each one covers a single topic in ordinary prose, links to the slides where the topic is animated, and reuses the same worked numbers:

The explanations favour clarity over completeness. The toy keys are small on purpose and are not safe to use, and where something is believed but not proved, the text says so.

How it was made

The story is a single hand-built page that holds all of its slides and figures together. There is no account and no sign-up. The site uses PostHog, hosted in the EU, to count visits and to see which pages and slides get read and which links get clicked. It sets no cookies, stores nothing in your browser, does not record sessions or anything you type, and does nothing at all if your browser sends Do Not Track. The analytics project is set to discard visitor IP addresses. Pages also load two typefaces, Hanken Grotesk and IBM Plex Mono, from Google Fonts.

How to cite it

For the whole story, use the main address. For an article, cite the page you used, along with the date shown in its byline. A suggested format:

Asim K T. "How RSA works, with a worked example."
Secrets on the Wire, 2026.
https://secretsonthewire.com/how-rsa-works/

For the interactive story as a whole:

Asim K T. "Secrets on the Wire: from a copper wire to
quantum-safe encryption." 2026.
https://secretsonthewire.com/

Each slide can be linked directly, for example the first RSA slide, and a link like that is the best way to point someone at a single step.

Corrections

If something here is wrong, say so and it will be fixed. Each article shows the date it was last updated.

Go deeper

Read the explainers