opendp 0.14.2-dev.20260401.2

A library of differential privacy algorithms for the statistical analysis of sensitive private data.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{
    core::Domain,
    domains::{AtomDomain, MapDomain},
    measurements::NoiseDomain,
    traits::{CheckAtom, Hashable},
};

mod float;
mod integer;

impl<DK: Domain, TV: 'static + CheckAtom> NoiseDomain for MapDomain<DK, AtomDomain<TV>>
where
    DK::Carrier: Hashable,
{
    type Atom = TV;
}