TLS From First Principles

TLS From First Principles

Why TLS Works the Way It Does

by Rajganesh Pandurangan

This book is free to read online. If you prefer reading on Kindle or offline, grab the PDF or EPUB.

Get PDF + EPUB (Pay What You Want)

Part I: The Problem

Why encryption exists and what TLS promises to solve.

Part II: The Crypto Toolbox

The building blocks: hashing, encryption, key exchange, and signatures.

Part III: Cipher Suites Decoded

How the crypto tools combine into the negotiated algorithms for each connection.

Part IV: The TLS 1.2 Handshake

Every message in the handshake, what it contains, and why it's needed.

Part V: TLS 1.3

What changed, why it was necessary, and how the new handshake works.

Part VI: Attacks and Why They Worked

How real attacks exploited TLS weaknesses, and what was fixed.

Part VII: The Quantum Horizon

Why quantum computers threaten TLS and what's being done about it.

Part VIII: Interview Questions

Enjoy the book? Get the PDF and EPUB for offline reading.

Get PDF + EPUB (Pay What You Want)