How it works
The rules below come from the DROP operations and API documentation, version 1.3.0 of 19 November 2026. Where the spec is silent, we say what we chose.
1. Standardize each value
| Field | Rule (in order) | Example |
|---|---|---|
| First and last name, separately | Unicode NFKC normalization, remove control and format characters, lowercase, replace Greek, Cyrillic and special Latin letters using DROP's mapping table, replace accented Latin letters with plain ones, keep only letters and digits. Chinese, Japanese, Korean, Arabic and Hebrew are kept as they are. | María José → mariajose |
| Date of birth | YYYYMMDD, no separators. | July 4, 1776 → 17760704 |
| ZIP code | Trim; if the whole value is ZIP+4, drop the separator and last four digits; keep letters and digits, lowercase; remove leading zeros (all zeros becomes 0); first five characters. | 00300-9999 → 300 |
| Remove whitespace, lowercase. Dots and plus signs stay. | Anna.Smith@Domain.com → anna.smith@domain.com | |
| Phone | Remove any extension and its digits, remove non-digits, keep the last 10 digits. | +1(212)555-0186 ext. 123 → 2125550186 |
| Mobile ad ID | Keep hexadecimal characters, lowercase; must be 32 characters. | a3f1c2d4-5678-... → a3f1c2d4567890ab... |
| VIN, Connected TV ID | Keep letters and digits, lowercase. | SmartTV_9F8E7D6C → smarttv9f8e7d6c |
A rule we handle that home-made scripts often miss. The DROP spec requires ZIP codes to lose their leading zeros before hashing, so 02139 must be hashed as 2139. That is what DROP does when it builds the lists, and what this tool does. A script that keeps or pads ZIP codes to five digits produces a different hash for every ZIP code starting with 0 (much of New England, New Jersey and Puerto Rico) and silently misses those requests.
2. Hash
SHA-256 over the UTF-8 bytes, written as standard Base64 (44 characters ending in =). Email, Phone, MAID and CTVID lists hash the one standardized value. The two composite lists hash each field first, join the Base64 hashes with nothing between them, and hash the result again:
- NDZ: first name + last name + date of birth + ZIP
- NameVIN: first name + last name + VIN
3. Match and decide a status
| What the match finds | Status | Worklist action |
|---|---|---|
| No record of yours matches | 5 Not found | none (kept on the suppression list) |
| The identifier links to two or more of your consumers | 4 Opted out | opt all of them out of sale and sharing |
| One consumer, and you marked them exempt | 2 Exempted | keep |
| One consumer, deletion confirmed by you | 3 Deleted | delete all their non-exempt personal information |
A "consumer" is your consumer-ID column when you map one (a person with several rows counts once); otherwise each row is its own consumer. Every work item in the batch gets a row in the status file, and the status files are not made until every list has been checked and the deletion confirmed.
Two DROP requests can share one identifier (two people with the same landline): they have the same hash and different work-item IDs, and each gets a status.
4. Keep a suppression list and re-check new data
CalPrivacy's guidance asks brokers to keep a list of everyone who used DROP and compare newly collected records with it before selling or sharing them. The tool's suppression list holds every identifier hash received, with its last status, merges each cycle into the last, and drops identifiers in DROP's Removed file. In re-check mode, it matches new records against the identifiers last reported "Not found" and writes amend files for /data/amend.
Where the spec is silent, and what we chose
- Accented Latin letters. The spec says "where supported" but lists no table. We decompose each letter and drop the accent only when the base is a plain a–z letter (å, ö, ñ, é, ễ).
- Phone extensions. The spec names none. We cut at "ext", "extension", "x" or "#" after the number. Best practice: remove extensions in your own data first.
- Whitespace. Not defined; we use the Unicode White_Space property.
- VIN length. The page and the OpenAPI file disagree (17 characters, or 5 to 17). We hash any value and flag lengths outside 5 to 17.
- Empty or invalid values are not hashed; a composite hash needs every field. The results show how many values were skipped per field.
- Dates in your records. We read YYYYMMDD, YYYY-MM-DD, M/D/YYYY (or D/M/YYYY if you say so) and month names. Two-digit years are refused.
The code
The browser runs these files exactly as published. Read them, or run them against the spec's examples yourself:
- spec.mjs: every rule taken from the spec, including the transliteration table
- drop-hash.mjs: standardization and hashing for all six lists
- sha256.mjs: SHA-256 (checked against your browser's built-in Web Crypto)
- match.mjs: matching, status rules and every output file
We test them against every example in the spec and against a separately written Python version on 100,000 deliberately messy records, with zero differences. See the test report.