Giter VIP home page Giter VIP logo

peking2 / fbpcs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebookresearch/fbpcp

0.0 1.0 0.0 610 KB

FBPCS (Facebook Private Computation Service) is a secure, privacy safe and scalable architecture to deploy MPC (Multi Party Computation) applications in a distributed way on virtual private clouds. FBPCF (Facebook Private Computation Framework) is for scaling MPC computation up via threading, while FBPCS is for scaling MPC computation out via Private Scaling architecture.

License: MIT License

Python 99.15% Shell 0.85%

fbpcs's Introduction

FBPCS (Facebook Private Computation Service)

Secure multi-party computation (also known as secure computation, multi-party computation (MPC), or privacy-preserving computation) is a subfield of cryptography with the goal of creating methods for parties to jointly compute a function over their inputs while keeping those inputs private.

FBPCS (Facebook Private Computation Service) is a secure, privacy safe and scalable architecture to deploy MPC (Multi Party Computation) applications in a distributed way on virtual private clouds. FBPCF (Facebook Private Computation Framework) is for scaling MPC computation up via threading, while FBPCS is for scaling MPC computation out via Private Scaling architecture. FBPCS consists of various services, interfaces that enalbe various private measurement solutions, e.g. Private Lift.

Private Scaling resembles the map/reduce architecture and is secure against a semi-honest adversary who tries to learn the inputs of the computation. The goal is to secure the intermediate output of each shard to prevent potential privacy leak.

Installation Requirements:

Prerequisites for working on Ubuntu 18.04:

  • An AWS account (Access Key ID, Secret Access Key) to use AWS SDK (boto3 API) in FBPCS
  • python >= 3.8
  • python3-pip

Installing prerequisites on Ubuntu 18.04:

  • python3.8
sudo apt-get install -y python3.8
  • python3-pip
sudo apt-get install -y python3-pip

Installing fbpcs

python3.8 -m pip install 'git+https://github.com/facebookresearch/FBPCS.git'
# (add --user if you don't have permission)

# Or, to install it from a local clone:
git clone https://github.com/facebookresearch/FBPCS.git
python3.8 -m pip install -e FBPCS
# (add --user if you don't have permission)

# Or, to install it from Pypi
python3.8 -m pip install fbpcs

Architecture

Figure 1: Architecture of FBPCS

Services:

  • MPCService is the public interface that provides APIs to distribute a MPC application with large dataset to multiple MPC workers on cloud.

Join the FBPCS community

License

FBPCS is MIT licensed, as found in the LICENSE file.

fbpcs's People

Contributors

facebook-github-bot avatar peking2 avatar zhuang-93 avatar

Watchers

 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.