rappor
v1.0.0
Published
Javascript implementation of RAPPOR
Downloads
29
Maintainers
Readme
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.
var rappor = require('rappor');
var encoder = new rappor.Encoder('userId');
var output = encoder.encode(input);