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.

22 / 23spec example hashes identical (the 23rd is a typo on the spec page)
59 / 59rule cases give the expected value
0differences between two independent implementations on 100,000 records
0WCAG 2.2 AA accessibility violations (axe), 12 views x 4 modes

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.

FieldSpec inputOur standardized valueOur hashAgainst the spec
NameJuan Pablojuanpablo91hIbrbzNeqHs3o81O5yNrXUj7wDd2shvZ6THKi9qz8=Match
NameMartinezmartinez2wRPGbwBNxhShjRczx8GfS2c4cjvs4NJskeWloUNtp8=Match
NameMaría Josémariajose3VsywV/Fa+hXC9SFqmuszWhThL0Dyf6UelEDdsxJeKY=Match
NameO'Connoroconnoreg+/30DL65dCm9uI9RLOzSfw1Et+V5hqtXhCO7YZNqw=Match
Nameדודדודm4LFnWfqjtywvdjHlgqUPu5+lb3ol9jttbjwG591/JE=Match
Name张张9WoEn8wj8ev84f3WTLJPQFW8UZrPLpEK451DCDoc7PY=Match
Date of birth1776-07-0417760704skXYXxBER6HQTZ3rXSZH1wVGLQ054mS5rbR/bwvzy4I=Match
ZIP91790-3771917902FPZucR4x7U8KlM+SFAX4LPGhwNz/PIZUCSUdDh0o/s=Match
ZIPM1B 1A1m1b1an8L9q8mVeT6Xt9/EeUNiTukGDrkbPJ3DvOEx14uElxk=Match
ZIP0071234571234aeNUYKh7Xw5sqpxSbSP9eOHsj6iXewbUyavv89DIuhQ=Match
ZIP00300-9999300mDvWFLta/s5as7YCP3EUfNe2vCMU+dJ690IlQcZVg4k=Match
EmailAnna.Smith@Domain.comanna.smith@domain.comKA18MT/ph6IHYjzT9zwETySDQyvSh87YuoSBpOQtkhE=Match
Emaildanielle.johnson12@example.comdanielle.johnson12@example.commKDnDvwF2inxrKcK1hJN2TRkxPfL6kzNNTtU12eH8Bw=Match
Phone+1(415)555-93174155559317vGM7y5n+hBXRSEAklhHDPCbysyNgYTmXdMcagGUOY8E=Match
Phone+84(90)123 45674901234567ptzVkgbv9DonwvPCHmXmJ2SEOaolSh37z3ZzY/Gmm+U=Match
Phone+354(123)45673541234567Btrzydf5K6ALAKKXJGFHSx7u5bDzHC9WlVYtpq1n2rY=Match
Phone+1(212)555-0186 ext. 1232125550186IEWV38qOhXizX6uXmPYydSfrglkBOIfpSou2bt0lqcc=Match
VIN1HGCM82633A0043521hgcm82633a004352iNswy1m+0VSt8jAfFrvaiQ1R/0HAbgSwNGkwqo6QBss=Match
VIN7F01C1234567f01c123456B4tPoGDMN2UMZSKr42kfXfbdN3uycsiuw4sgMLesNHs=Value matches; spec hash is a typo (45 characters)
Mobile ad IDa3f1c2d4-5678-90ab-cdef-1234567890aba3f1c2d4567890abcdef1234567890ab250KY6lOgzYUB3EHrkbDCE2kMEZQE69SF38muhoDudI=Match
TV IDSmartTV_9F8E7D6Csmarttv9f8e7d6cd9fxuTIrKksBXYDlaWsvQbcyUUfCbUx7v78gd+KP+tc=Match
NDZ (composite)Danielle / Johnson / 1985-07-04 / 917904 or 3 field hashes joinedPQOfn1RffEKmqMmNAzDKKaoZCwxWbQZkQzPWmQo9REA=Match
NameVIN (composite)Eve / Genesis / 1HGCM82633A0043524 or 3 field hashes joinedrtnDuXIe63jXYQQXW5r07GJ7lSsrib8+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.

FieldInputOur standardized valueResult
NameJOHNjohnAs expected
NameJo[U+200D]hnjohnAs expected
NameJo[U+0007]hnjohnAs expected
NameMary-AnnmaryannAs expected
NameD'Angelo Jr.dangelojrAs expected
NameΘεόδωροςtheodorosAs expected
NameЩукинshchukinAs expected
NameОбъектobektAs expected
NameStraßestrasseAs expected
NameSøren ÆrøsorenaeroAs expected
NameŁukaszlukaszAs expected
NameNguyễnnguyenAs expected
NameİlkerilkerAs expected
NameJoséjoseAs expected
NameJoséjoseAs expected
NameمحمدمحمدAs expected
Name (empty)As expected
Name(empty)(empty)As expected
NameSmith 3rdsmith3rdAs expected
Date of birth1985070419850704As expected
Date of birth1985-07-0419850704As expected
Date of birth1985-07-04T00:00:00Z19850704As expected
Date of birth7/4/198519850704As expected
Date of birth ({"order":"DMY"})4/7/198519850704As expected
Date of birthJuly 4, 177617760704As expected
Date of birth4 Jul 177617760704As expected
Date of birth2000-02-2920000229As expected
Date of birth1900-02-29(empty)As expected
Date of birth1985-13-01(empty)As expected
Date of birth85-07-04(empty)As expected
Date of birth(empty)As expected
ZIP021392139As expected
ZIP000000As expected
ZIP 12345-6789 12345As expected
ZIP12345+678912345As expected
ZIP12345–678912345As expected
ZIP12345 678912345As expected
ZIP0A1B2Ca1b2cAs expected
ZIP(empty)As expected
Email Anna.Smith+news@Domain.COM anna.smith+news@domain.comAs expected
Emaila b@c.dab@c.dAs expected
Emailno-at-sign(empty)As expected
Email@domain.com(empty)As expected
Phone415.555.9317 x224155559317As expected
Phone(415) 555-9317 #34155559317As expected
Phone4155559317 extension 94155559317As expected
Phone+44 20 7946 09582079460958As expected
Phone1234512345As expected
Phone(empty)As expected
VIN1hg-cm8 2633a0043521hgcm82633a004352As expected
VIN(empty)As expected
Mobile ad IDA3F1C2D4-5678-90AB-CDEF-1234567890ABa3f1c2d4567890abcdef1234567890abAs expected
Mobile ad IDa3f1c2d4-5678(empty)As expected
TV IDRoku-ABC12345rokuabc12345As expected
Email[U+0085]a@b.c[U+00A0]a@b.cAs expected
Email[U+FEFF]a@b.c[U+FEFF]a@b.cAs expected
ZIP[U+3000] 02139[U+2003]2139As expected
Date of birth[U+00A0]1985-07-04[U+2028]19850704As expected
Phone4155559317[U+2003]ext 44155559317As 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:

FieldWhat the messy records contain
NamesMarí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 birth1985-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 codes5 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.
EmailsMixed case, leading and trailing spaces, plus addressing, missing @, random characters, empty.
VIN, ad ID, TV IDValid, 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

CheckResult
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 reportedAll 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 unlockAll pass, on the live site too
Privacy: every network request made during a full runOnly 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 runChrome 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 dark0 violations
Layout: text overlap, page overflow, contrast, broken links and images, tap target size0 findings
Speed: 1,002,000 records in a laptop browser37.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.