https://github.com/willscott/rappor
Javascript implementation of the RAPPOR algorithm
https://github.com/willscott/rappor
Last synced: 10 months ago
JSON representation
Javascript implementation of the RAPPOR algorithm
- Host: GitHub
- URL: https://github.com/willscott/rappor
- Owner: willscott
- License: apache-2.0
- Created: 2014-11-04T16:07:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T02:40:59.000Z (over 8 years ago)
- Last Synced: 2024-04-14T00:03:25.190Z (about 2 years ago)
- Language: JavaScript
- Size: 56.6 KB
- Stars: 5
- Watchers: 7
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
RAPPOR
======
[](https://travis-ci.org/willscott/rappor)
Javascript implementation of the RAPPOR algorithm, described at https://github.com/google/rappor.
Installation
-----
```
npm install rappor
```
Usage
-----
This is an implementation of the rappor algorithm, which allows one to infer statistics
about a population while preserving the privacy of individual users. Before using it,
you should understand what you do and do not get from this algorithm, by consulting the
[paper](http://arxiv.org/abs/1407.6981).
```javascript
var rappor = require('rappor');
var encoder = new rappor.Encoder('userId');
var output = encoder.encode(input);
```