Test report
How we test the DROP processor
A wrong hash is a missed deletion, so we publish the evidence. The tables below are generated by running the exact code your browser runs, at every site build. Updated 24 November 2026, DROP specification 1.3.0.
1. Every worked example in the DROP specification
CalPrivacy's specification publishes 23 examples: input, standardized value and hash. Here is each one run through our code.
22 of 23 hashes match the spec exactly; every standardized value matches.
| Field | Spec input | Our standardized value | Our hash | Against the spec |
|---|---|---|---|---|
| Name | Juan Pablo | juanpablo | 91hIbrbzNeqHs3o81O5yNrXUj7wDd2shvZ6THKi9qz8= | Match |
| Name | Martinez | martinez | 2wRPGbwBNxhShjRczx8GfS2c4cjvs4NJskeWloUNtp8= | Match |
| Name | María José | mariajose | 3VsywV/Fa+hXC9SFqmuszWhThL0Dyf6UelEDdsxJeKY= | Match |
| Name | O'Connor | oconnor | eg+/30DL65dCm9uI9RLOzSfw1Et+V5hqtXhCO7YZNqw= | Match |
| Name | דוד | דוד | m4LFnWfqjtywvdjHlgqUPu5+lb3ol9jttbjwG591/JE= | Match |
| Name | 张 | 张 | 9WoEn8wj8ev84f3WTLJPQFW8UZrPLpEK451DCDoc7PY= | Match |
| Date of birth | 1776-07-04 | 17760704 | skXYXxBER6HQTZ3rXSZH1wVGLQ054mS5rbR/bwvzy4I= | Match |
| ZIP | 91790-3771 | 91790 | 2FPZucR4x7U8KlM+SFAX4LPGhwNz/PIZUCSUdDh0o/s= | Match |
| ZIP | M1B 1A1 | m1b1a | n8L9q8mVeT6Xt9/EeUNiTukGDrkbPJ3DvOEx14uElxk= | Match |
| ZIP | 00712345 | 71234 | aeNUYKh7Xw5sqpxSbSP9eOHsj6iXewbUyavv89DIuhQ= | Match |
| ZIP | 00300-9999 | 300 | mDvWFLta/s5as7YCP3EUfNe2vCMU+dJ690IlQcZVg4k= | Match |
Anna.Smith@Domain.com | anna.smith@domain.com | KA18MT/ph6IHYjzT9zwETySDQyvSh87YuoSBpOQtkhE= | Match | |
danielle.johnson12@example.com | danielle.johnson12@example.com | mKDnDvwF2inxrKcK1hJN2TRkxPfL6kzNNTtU12eH8Bw= | Match | |
| Phone | +1(415)555-9317 | 4155559317 | vGM7y5n+hBXRSEAklhHDPCbysyNgYTmXdMcagGUOY8E= | Match |
| Phone | +84(90)123 4567 | 4901234567 | ptzVkgbv9DonwvPCHmXmJ2SEOaolSh37z3ZzY/Gmm+U= | Match |
| Phone | +354(123)4567 | 3541234567 | Btrzydf5K6ALAKKXJGFHSx7u5bDzHC9WlVYtpq1n2rY= | Match |
| Phone | +1(212)555-0186 ext. 123 | 2125550186 | IEWV38qOhXizX6uXmPYydSfrglkBOIfpSou2bt0lqcc= | Match |
| VIN | 1HGCM82633A004352 | 1hgcm82633a004352 | iNswy1m+0VSt8jAfFrvaiQ1R/0HAbgSwNGkwqo6QBss= | Match |
| VIN | 7F01C123456 | 7f01c123456 | B4tPoGDMN2UMZSKr42kfXfbdN3uycsiuw4sgMLesNHs= | Value matches; spec hash is a typo (45 characters) |
| Mobile ad ID | a3f1c2d4-5678-90ab-cdef-1234567890ab | a3f1c2d4567890abcdef1234567890ab | 250KY6lOgzYUB3EHrkbDCE2kMEZQE69SF38muhoDudI= | Match |
| TV ID | SmartTV_9F8E7D6C | smarttv9f8e7d6c | d9fxuTIrKksBXYDlaWsvQbcyUUfCbUx7v78gd+KP+tc= | Match |
| NDZ (composite) | Danielle / Johnson / 1985-07-04 / 91790 | 4 or 3 field hashes joined | PQOfn1RffEKmqMmNAzDKKaoZCwxWbQZkQzPWmQo9REA= | Match |
| NameVIN (composite) | Eve / Genesis / 1HGCM82633A004352 | 4 or 3 field hashes joined | rtnDuXIe63jXYQQXW5r07GJ7lSsrib8+46QuKFwkOmk= | Match |
2. Rule cases: the awkward inputs
Each standardization rule has cases for the inputs that trip people up: accents and other alphabets, invisible characters, odd spacing, ZIP+4 with unusual dashes, phone extensions, impossible dates, wrong-length IDs. Where the spec is silent, the case tests our documented choice (see open points).
59 of 59 cases give the expected result. "(empty)" means the value cannot be hashed and is skipped; [U+XXXX] shows an invisible character.
| Field | Input | Our standardized value | Result |
|---|---|---|---|
| Name | JOHN | john | As expected |
| Name | Jo[U+200D]hn | john | As expected |
| Name | Jo[U+0007]hn | john | As expected |
| Name | Mary-Ann | maryann | As expected |
| Name | D'Angelo Jr. | dangelojr | As expected |
| Name | Θεόδωρος | theodoros | As expected |
| Name | Щукин | shchukin | As expected |
| Name | Объект | obekt | As expected |
| Name | Straße | strasse | As expected |
| Name | Søren Ærø | sorenaero | As expected |
| Name | Łukasz | lukasz | As expected |
| Name | Nguyễn | nguyen | As expected |
| Name | İlker | ilker | As expected |
| Name | José | jose | As expected |
| Name | José | jose | As expected |
| Name | محمد | محمد | As expected |
| Name | | (empty) | As expected |
| Name | (empty) | (empty) | As expected |
| Name | Smith 3rd | smith3rd | As expected |
| Date of birth | 19850704 | 19850704 | As expected |
| Date of birth | 1985-07-04 | 19850704 | As expected |
| Date of birth | 1985-07-04T00:00:00Z | 19850704 | As expected |
| Date of birth | 7/4/1985 | 19850704 | As expected |
| Date of birth ({"order":"DMY"}) | 4/7/1985 | 19850704 | As expected |
| Date of birth | July 4, 1776 | 17760704 | As expected |
| Date of birth | 4 Jul 1776 | 17760704 | As expected |
| Date of birth | 2000-02-29 | 20000229 | As expected |
| Date of birth | 1900-02-29 | (empty) | As expected |
| Date of birth | 1985-13-01 | (empty) | As expected |
| Date of birth | 85-07-04 | (empty) | As expected |
| Date of birth | | (empty) | As expected |
| ZIP | 02139 | 2139 | As expected |
| ZIP | 00000 | 0 | As expected |
| ZIP | 12345-6789 | 12345 | As expected |
| ZIP | 12345+6789 | 12345 | As expected |
| ZIP | 12345–6789 | 12345 | As expected |
| ZIP | 12345 6789 | 12345 | As expected |
| ZIP | 0A1B2C | a1b2c | As expected |
| ZIP | | (empty) | As expected |
Anna.Smith+news@Domain.COM | anna.smith+news@domain.com | As expected | |
a b@c.d | ab@c.d | As expected | |
no-at-sign | (empty) | As expected | |
@domain.com | (empty) | As expected | |
| Phone | 415.555.9317 x22 | 4155559317 | As expected |
| Phone | (415) 555-9317 #3 | 4155559317 | As expected |
| Phone | 4155559317 extension 9 | 4155559317 | As expected |
| Phone | +44 20 7946 0958 | 2079460958 | As expected |
| Phone | 12345 | 12345 | As expected |
| Phone | | (empty) | As expected |
| VIN | 1hg-cm8 2633a004352 | 1hgcm82633a004352 | As expected |
| VIN | | (empty) | As expected |
| Mobile ad ID | A3F1C2D4-5678-90AB-CDEF-1234567890AB | a3f1c2d4567890abcdef1234567890ab | As expected |
| Mobile ad ID | a3f1c2d4-5678 | (empty) | As expected |
| TV ID | Roku-ABC12345 | rokuabc12345 | As expected |
[U+0085]a@b.c[U+00A0] | a@b.c | As expected | |
[U+FEFF]a@b.c | [U+FEFF]a@b.c | As expected | |
| ZIP | [U+3000] 02139[U+2003] | 2139 | As expected |
| Date of birth | [U+00A0]1985-07-04[U+2028] | 19850704 | As expected |
| Phone | 4155559317[U+2003]ext 4 | 4155559317 | As expected |
3. The 100,000-record cross-check
We wrote the standardization and hashing rules twice, independently: once in JavaScript (what your browser runs) and once in Python. A generator then produces deliberately messy records, and both versions must agree on every standardized value and every list hash for all six lists. The records contain:
| Field | What the messy records contain |
|---|---|
| Names | María José, Søren, Mary-Ann, Θεόδωρος, Ольга, Łukasz, Nguyễn Văn, İlker, 张伟, דוד, O'Neil, Zoë, Ærin; Straße, D'Angelo Jr., Щукин, Ó Briain, van der Berg, Müller, Ψαράς, Объектов, محمد, Smith-Jones, Ðorđević, Þórsson. A quarter also get 1 to 4 random characters from 25 Unicode ranges: control characters, zero-width and other format characters, combining accents, full-width letters, Greek, Cyrillic, Hebrew, Arabic, Devanagari, Chinese, Roman numerals, emoji, non-breaking and ideographic spaces, the byte-order mark. |
| Dates of birth | 1985-07-04, 7/4/1985, 19850704, "Sept 4, 1985", "4 Mar 1985", empty, 29 February in leap and non-leap years, month 13, and dates with random characters attached. |
| ZIP codes | 5 digits, ZIP+4 with hyphen, plus sign or en dash, surrounding spaces, a Canadian postcode, 00000, extra leading zeros, random characters, empty. |
| Phones | +1(415)555-0186, 415.555.0186 x22, (415) 555-0186 ext. 9, UK numbers, short numbers, random characters, empty. |
| Emails | Mixed case, leading and trailing spaces, plus addressing, missing @, random characters, empty. |
| VIN, ad ID, TV ID | Valid, hyphenated, too short, too long, with random characters, empty. |
What it caught
The first run found 535 disagreements in 20,000 records. All had one cause: JavaScript and Python define "whitespace" differently (for example for U+001C to U+001F, U+0085 and U+FEFF), and the specification does not define it. We fixed both to the Unicode White_Space property and added test cases for it. Since then: 0 differences on 100,000 records.
4. Everything else we check before each release
| Check | Result |
|---|---|
| SHA-256 implementation against the browser's own Web Crypto (2,000 random texts, padding edge cases) | Identical |
| Matching and files: status codes 2, 3, 4, 5; one row per work item; file names; exemptions; shared identifiers; suppression merge and Removed file; re-check and amend files; bad input files reported | All pass (105 automated tests) |
| End-to-end in a real browser: sample run, downloaded ZIP opened and every status code counted, licence lock, terms acceptance, valid key unlock | All pass, on the live site too |
| Privacy: every network request made during a full run | Only this site; POST bodies carry only a counter name or the licence key |
| Browsers: all spec examples and rule cases inside each browser's own Unicode engine, plus the full sample run | Chrome 148 and Firefox 158 pass |
| Accessibility: axe-core, WCAG 2.0, 2.1 and 2.2 A and AA rules, every page, phone and desktop, light and dark | 0 violations |
| Layout: text overlap, page overflow, contrast, broken links and images, tap target size | 0 findings |
| Speed: 1,002,000 records in a laptop browser | 37.7 seconds |
5. What is not tested yet
- A real DROP batch and the DROP Sandbox. Both live inside a registered broker's DROP account, which we cannot open. The first founding-pilot customer runs the Sandbox's own standardization and hashing checker against our output, and pays nothing until it passes (see pricing). We will publish the result here.
- Safari and Edge. Edge uses the same engine as Chrome; Safari is untested because we build on Windows. Use Chrome or Firefox until this line changes.
- Points the spec leaves open (accent coverage, phone extension markers, whitespace) follow our documented reading. If CalPrivacy clarifies them differently, we change the code and log it in the changelog.