Skip to main content

Facebook Private Computation Platform

Project description

FBPCP (Facebook Private Computation Platform)

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.

FBPCP (Facebook Private Computation Platform) 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 FBPCP is for scaling MPC computation out via Private Scaling architecture. FBPCP consists of various services, interfaces that enable 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 FBPCP
  • 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 fbpcp

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

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

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

Upgrading fbpcp

  • To latest version in github main branch
python3.8 -m pip uninstall fbpcp
# uninstall fbpcp first

python3.8 -m pip install 'git+https://github.com/facebookresearch/fbpcp.git'
# (add --user if you don't have permission)
# re-install fbpcp from github repository
  • To latest version in Pypi
python3.8 -m pip install fbpcp --upgrade

Architecture

Figure 1: Architecture of FBPCP

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 FBPCP community

License

FBPCP 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

fbpcp-0.2.9.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

fbpcp-0.2.9-py3-none-any.whl (101.9 kB view details)

Uploaded Python 3

File details

Details for the file fbpcp-0.2.9.tar.gz.

File metadata

  • Download URL: fbpcp-0.2.9.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for fbpcp-0.2.9.tar.gz
Algorithm Hash digest
SHA256 bcafa9f3dcbaa3e12d09ab970f2e97c59c161abef8f7a8a2209bbcb84ec144be
MD5 783ed40a082191efe04776705993720c
BLAKE2b-256 5403c6d16069430a9748af1ad0087871ded7f44d0127e06a3122c31f189b19d3

See more details on using hashes here.

Provenance

File details

Details for the file fbpcp-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: fbpcp-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 101.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for fbpcp-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d0f8db65f31f5972909440c1d8c256facf87bfbad49d780cfaa103eb795ad4e1
MD5 da0ae2095d01a9c55182f763e6c5f201
BLAKE2b-256 04caf6039830ce63077c1c6771424628c859c59b669bace8a6cd085d57db4c6c

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