Giter Site home page Giter Site logo

shazi4399 / distributed_point_functions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/distributed_point_functions

0.0 0.0 0.0 251 KB

An Implementation of Incremental Distributed Point Functions in C++

License: Apache License 2.0

C++ 96.16% Starlark 3.84%

distributed_point_functions's Introduction

An Implementation of Incremental Distributed Point Functions in C++ Build status

This library contains an implementation of incremental distributed point functions, based on the following paper:

Boneh, D., Boyle, E., Corrigan-Gibbs, H., Gilboa, N., & Ishai, Y. (2020). Lightweight Techniques for Private Heavy Hitters. arXiv preprint arXiv:2012.14884. https://arxiv.org/abs/2012.14884

About Incremental Distributed Point Functions

A distributed point function (DPF) is parameterized by an index alpha and a value beta. It consists of two algorithms: key generation and evaluation. The key generation procedure produces two keys k_a and k_b, given alpha and beta. Evaluating each key on any point x in the DPF domain results in an additive secret share of beta, if x == alpha, and a share of 0 otherwise.

Incremental DPFs additionally can be evaluated on prefixes of the index domain. More precisely, an incremental DPF is parameterized by a hierarchy of index domains, each a power of two larger than the previous. Key generation now takes a vector beta, one value beta[i] for each hierarchy level. When evaluated on a b-bit prefix of alpha, where b is the log domain size of the i-th hierarchy level, the incremental DPF returns a secret share of beta[i], otherwise a share of 0.

For more details, see the above paper, as well as the DistributedPointFunction class documentation.

Building/Running Tests

This repository requires Bazel. You can install Bazel by following the instructions for your platform on the Bazel website.

Once you have installed Bazel you can clone this repository and run all tests that are included by navigating into the root folder and running:

bazel test //...

Security

To report a security issue, please read SECURITY.md.

Disclaimer

This is not an officially supported Google product. The code is provided as-is, with no guarantees of correctness or security.

distributed_point_functions's People

Contributors

alexmturner avatar amitgtx avatar derekmauro avatar dpf-team-bot avatar schoppmp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.