Skip to content

Anonymization Handbook

A concise, academic-style reference and nine-lecture curriculum covering statistical disclosure control, formal privacy models, file-format leakage, cryptographic pseudonymization, and unstructured text evaluation. No prior background in privacy engineering is assumed.

Lectures 1–8 and the reference compendia are vendor-neutral, grounded in peer-reviewed literature and international standards (ISO/IEC 20889, NIST SP 800-188, GDPR, HIPAA). Lecture 9 examines how the companion open-source tool (pdf-anonymizer) implements a specific subset of these methods — and where its guarantees stop.


Curriculum

Part I — Foundations & Formal Theory

Lecture Topic Key Concepts
1. Problem, Threats, and Law Why naive redaction fails Direct vs. quasi-identifiers, anonymization vs. pseudonymization, GDPR / HIPAA / CCPA, application domains.
2. Historical Development Evolution of disclosure control Chronology from Fellegi (1972) and Dalenius (1977) to differential privacy and TAB (2022).
3. Formal Models and Methods Privacy mechanisms Deterministic transforms, \(k\)-anonymity, \(\ell\)-diversity, \(t\)-closeness, \((\varepsilon, \delta)\)-differential privacy, synthetic data, NLP de-identification.
4. Attacker Models and Risk Formalizing disclosure risk Prosecutor, journalist, and marketer risk; WP29 criteria (singling out, linkability, inference); ML/LLM membership and attribute inference.

Part II — Systems, Cryptography & Evaluation

Lecture Topic Key Concepts
5. Document & File-Format Leakage Hidden container surfaces PDF content streams vs. overlay boxes, /Prev history, XMP//Info; OOXML w:del and split runs; spreadsheet formulas and display formats.
6. Pseudonymization & Crypto Key hygiene and reversibility Unsalted hash failure, keyed HMAC, NIST SP 800-38G FPE (FF1 vs. FF3-1), Argon2id + AES-256-GCM + AAD mapping custody.
7. Evaluation & Benchmarks Measuring leakage honestly Direct vs. quasi recall, mention vs. entity \(F_1\), leftover rate vs. utility, public corpora (TAB, i2b2, Gretel), and the synthetic gap.
8. Choosing a Method Decision framework Selection flowchart and matrix across data modalities, release contexts, open-source tooling classes, and engineering anti-patterns.

Part III — Reference Implementation

Lecture Topic Key Concepts
9. Case Study: pdf-anonymizer Concrete system design Mapping Lectures 1–8 onto hybrid RE2 + GLiNER + LLM detection, indirect identifiers, span replacement, and measured quality.

Reference Compendia


Citing This Handbook

Machine-readable citation metadata is provided in CITATION.cff at the repository root.