Skip to main content

Facebook Private Computation Service

Project description

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

git clone https://github.com/facebookresearch/FBPCS.git
cd FBPCS
sudo python3 -m pip install -e . --user

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.

Other components

Join the FBPCS community

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fbpcs-0.1.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

fbpcs-0.1.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file fbpcs-0.1.0.tar.gz.

File metadata

  • Download URL: fbpcs-0.1.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for fbpcs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 59d60696c27b1d8133d7df23878a5994c31cd594785678c522f0f418f924ce95
MD5 38b2a70710d548b47507c0434b8783d2
BLAKE2b-256 76306d292d7a4cb2227b888c6b69c83e15294c191a198692880f89fa0dfdf636

See more details on using hashes here.

Provenance

File details

Details for the file fbpcs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fbpcs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for fbpcs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4923fbd229ce578c451b6506173d789cc0d0a9a5b8fdc6ca1155634cd0cc5070
MD5 1d420979012440b644a9c79320f7a317
BLAKE2b-256 c6943f1471abab231352b95470024ae13dc091e5391687e4eeed9478a1505c03

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page