- Licence
- CC0 1.0 (public domain)Adapted from www.nist.gov
- Languages
- English
- Topics
- Science
Suppose you run a pumpkin spice latte stand and want to know whether your supplier overcharges you compared with the industry-wide average. You would join a study that computes that average, but would not hand a third party your raw expense data. A NIST blog post on privacy-enhancing cryptography (PEC) explains that such a computation is possible without anyone sharing raw data, and that the techniques can be combined with differential privacy. The post, by Luís Brandão and René Peralta of NIST’s Privacy Enhancing Cryptography project, is part of a series on differential privacy; the authors’ opinions are their own and not official NIST views.
Why one noisy answer per hospital is not enough
The post’s example: Alice and Bob manage patient records at two hospitals, and a researcher, Rya, wants to count patients with condition X by age range. Differential privacy adds noise to results to protect privacy, so Rya could get two noisy counts, one from each hospital. But she cannot correct for duplicate patients who appear in both, so the sum overstates the true number, and the pair of answers also reveals differences between hospitals that have nothing to do with her question. In the post’s sample table, the error from adding the two counts can exceed 25 percent for some age ranges.
PEC lets Rya interact with Alice and Bob and get a single combined answer corrected for duplicates, without the hospitals sharing data with each other and without Rya learning anything beyond the intended result. Differential privacy shrinks what an answer reveals by adding noise; PEC limits what is disclosed to the specified output, as if a trusted third party had computed it. The two can be composed.
Five techniques
| Technique | What it allows |
|---|---|
| Secure multiparty computation (SMPC) | Rya learns a statistic over the hospitals’ combined records without the records being combined and without seeing the records; with differential privacy it avoids relying on a central curator that could be hacked, while keeping the best accuracy. A distributed curator can hold secret-shared data so no single part knows it. The MPC Alliance has more than 40 companies |
| Private set intersection (PSI) | The hospitals find which patients they share without revealing anyone else. A variant, PSI cardinality, gives only the count of shared patients, which can itself be given differential privacy |
| Private information retrieval (PIR) | Rya queries Alice’s database without Alice learning what was asked. Rya could obtain the noisy count (119.5) of patients aged 31 to 60 with condition X, against an exact count of 123, without Alice learning the age range |
| Zero-knowledge proofs (ZKP) | A database owner proves an answer is consistent with data that was committed earlier and unchanged, for example that the noise was added correctly, which holds the parties accountable even if one misbehaves |
| Fully homomorphic encryption (FHE) | Rya sends an encrypted query that the hospitals transform into an encrypted, noise-protected answer she alone can decrypt. It can underpin PIR, PSI and SMPC and needs little communication, but can cost more computing |

Secure computation of differentially private statistics from two combined databases (NIST).
The point
The roles of PEC and differential privacy differ but complement each other. PEC covers interactive and multi-party settings that differential privacy cannot handle alone, and the authors suggest privacy and security practitioners add PEC to their toolkit. The next post in the series would turn to utility metrics, to judge whether differentially private results are useful.
Sources
- National Institute of Standards and Technology, Privacy-Enhancing Cryptography to Complement Differential Privacy, Cybersecurity Insights blog, by Luís Brandão and René Peralta; rewritten in hubnx's own words.
Comments

Read next
More on Science




