← Duc V. Le / learning with AI

Learning with AI

Study notes I make while learning topics outside my own research: companion guides and interactive pages that walk through a published paper, section by section.

Topics

AES-GCM, spelled out

Companion to Alfred Menezes, Crypto 101: Building Blocks, module 5 “Authenticated encryption” (V5 slides, cryptography101.ca, December 2024), with length bounds and algorithm steps from NIST SP 800-38D.

slide deck 36 slides covers V5a and V5b

Why confidentiality and authentication are separate goals, the three generic compositions, then AES-GCM itself: CTR mode, arithmetic in GF(2128), GMAC and Horner’s rule, the three attacks on the simplified tag — including a full derivation of the (v+1)/2128 forgery bound — and why one repeated IV ends the key. Animated step by step; press N for speaker notes.

Learning Lattice Cryptography

Companion to Vadim Lyubashevsky, Basic Lattice Cryptography: The concepts behind Kyber (ML-KEM) and Dilithium (ML-DSA) (2024; version last updated June 18, 2025).

guide done interactive page covers Sections 2–5

LWE encryption, the geometry of lattices and SIS, polynomial rings, the NTT, Kyber and the Fujisaki–Okamoto transform, then Σ-protocols, rejection sampling and Dilithium. Every step the paper skips is spelled out, with toy examples.