/b2dp

Reference implementations for base-2 differential privacy.

Primary LanguageRustMIT LicenseMIT

Base-2 Differential Privacy Reference Implementations

Reference implementations for base-2 differential privacy.

Author: Christina Ilvento

Papers and other reference materials

Benchmarks

Criterion benchmarks can be found in b2dp/src/benchmarks/. To run the benchmarks:

cd rust/b2dp
cargo bench

The benchmark results can then be found in the rust/b2dp/target/Criterion directory.

Python Version

An older Python version of the base-2 exponential mechanism along with attack demonstrations is archived in the b2_exponential_mechanism repository. Future development is planned in Rust.

Dependencies