Skip to content

Commit

Permalink
Merge branch 'main' of github.com:samply/laplace-rs into main
Browse files Browse the repository at this point in the history
  • Loading branch information
enola-dkfz committed May 23, 2023
2 parents d0a36fc + 6ef3fe0 commit 2ee71a6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

Samply.Laplace is a Rust library to obfuscate discrete values using differential privacy-inspired methods.
The values are obfuscated by perturbing them with random values sampled from a laplace distribution with configurable parameters for location, sensitivity, and privacy budget. In order to not leak more information for repeated identical or equivalent queries, the perturbation values can be cached. The library exposes an API to finely control the caching behaviour, e.g. to obfuscate data that is stratified in a number of ways. Furthermore, a rounding step can be configured to never leak individual-level data.

Optionally, true zero values can be returned unperturbed. While lowering the privacy level slightly, this can vastly improve subsequent processes for data access control.

## Dependencies

The dependencies Samply.Laplace Rust library requires are:
thiserror v1.0.38
statrs v0.16.0
rand v0.8.5
anyhow v1.0.69
- thiserror v1.0.38
- statrs v0.16.0
- rand v0.8.5
- anyhow v1.0.69

## Getting Started

Expand Down

0 comments on commit 2ee71a6

Please sign in to comment.