All Modules
Chapter 02 • 10

Advanced Typing, Generics & Modern Python Protocols

12 Lessons • Hands-on practice

01

Platform Detection & Portable Code

Start
02

High-Precision Monotonic Timers

Start
03

Cryptographic Hashing with hashlib

Start
04

Preventing Timing Attacks with hmac.compare_digest

Start
05

Cryptographically Secure Randomness with secrets

Start
06

Safe Password Hashing with PBKDF2 & Salt

Start
07

Message Authentication Codes with hmac.new

Start
08

The Singleton Pattern: Single-Instance Architecture

Start
09

The Factory Pattern: Decoupled Object Creation

Start
10

The Observer Pattern: Event Dispatches

Start
11

The Strategy Pattern: Swappable Algorithms

Start
12

Chain of Responsibility: Middleware Pipelines

Start