Skip to content

Build TLS 1.3

Build TLS 1.3 from scratch: AEAD ciphers, HKDF key schedule, ephemeral X25519 key exchange, the 1-RTT handshake, encrypted record layer, session resumption with PSK, and 0-RTT data. The protocol securing every HTTPS request on the modern internet.

advanced14 lessons4 chapters14 graded exercisesPython

No sign-up needed for lesson 1 · certificate on completion · sign up to save progress

What you’ll have built

Chapter by chapter. Every step is a graded exercise.

  • Cryptographic Primitives
  • TLS 1.3 Handshake
  • Record Layer & Resumption
  • Production Concerns
Starts in Python — solve in the language you choose in the editor, same tests either way.

Curriculum

4 chapters, 14 lessons. Each lesson is a short read, one graded exercise, and a quiz.

  1. 1What TLS SolvesRead · exercise · quiz
  2. 2AEAD EncryptionRead · exercise · quiz
  3. 3HKDF — Key DerivationRead · exercise · quiz
  4. 4HKDF-Expand-Label & Derive-SecretRead · exercise · quiz
Loading reference solution…
Build TLS 1.3