Modern, Functional Cryptography (Part 4)
summary
Part 4 lays out concrete constructions and code: a functional cryptography library in Scala typeclasses, keyed MACs and HMAC‑SHA256 implementations, JWT formation and verification with JWT base64Url signing, and authenticated‑encryption patterns used in TLS. It works through CBC‑MAC, HMAC padding, PRF composition, Euclid and modular arithmetic toward finite fields and elliptic curves. A live JWT demo shows the signing and parser logic but the run reports a timestamp/expiration mismatch even though local parsing returns true.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:07Message Authentication
- 6:40CBCMAC
- 14:13Authentication
- 15:25TLS
- 21:03JWT
- 22:26Claims
- 41:30Euclidean Algorithm
- 46:30Modular Arithmetic
- 52:40Rings
- 55:05Finite Fields
related talks
37mNo way, JOSE!
31mNo way, JOSE! Cryptography basics
34mUnlocking the unknowns: Cryptography Essentials
32mForay into modern symmetric crypto
48mCryptography 101 for Java developers
20mFixing the rusty core of the internet with functional prog.
52mModern Cryptography for the Java Developer
52mCryptography 101 for Java developers
