HIPAA 3-Digit ZIP Truncator
Coarsen 5-digit ZIP codes and zero all 17 restricted prefixes to improve k.
Open ZIP Truncator →QUASI-IDENTIFIER RISK · EQUIVALENCE CLASS MATH
Select quasi-identifier columns (such as 3-digit ZIP, age band, sex, and admission year), choose a target
threshold (k = 5 or k = 10), and quantify exact equivalence class sizes,
Prosecutor and Journalist re-identification risk, and small-cell groups locally.
Free local utility · CohortWeir Solo $149 one-time
Drop a local CSV cohort or paste rows below
Computes exact k-anonymity and l-diversity in memory with zero outbound telemetry.
| Quasi-Identifier Combo | Group Size (k) | l-Diversity | Prosecutor Risk (1/k) | Status |
|---|
Interpreting Prosecutor risk, Journalist risk, and small-cell suppression.
Prosecutor risk assumes an attacker already knows a target individual is in the dataset, giving a
maximum re-identification probability of 1 / min(k). Journalist risk applies when the
dataset is a sample of a larger population and is bounded above by Prosecutor risk when population
equivalence class sizes are unknown.
A minimum equivalence class size of 5 caps single-record Prosecutor risk at 20% (0.20) and eliminates
unique quasi-identifier rows (k = 1) that can be linked against public voter or census
registries even after direct identifiers are removed.
Coarsen 5-digit ZIP codes and zero all 17 restricted prefixes to improve k.
Open ZIP Truncator →Shift patient dates deterministically and aggregate ages above 89 to 90+.
Open Date Shifter →Stream 100,000+ rows in a Web Worker with live k-anonymity and PDF certificates.
Launch Workbench →