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.1.5.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

fbpcp-0.1.5-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fbpcp-0.1.5.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fbpcp-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f911bcd033417ac28572d95d9a1ecbe3e6d7075e4d041c48a8a4d90d423ea8cf
MD5 2d8ca43964b3038ab1f5b0cb6eab53ae
BLAKE2b-256 5bba067412e8b18db652ed96d5da5264bb9a3af11d644b5f088e50b6e34444b8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: fbpcp-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 53.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fbpcp-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ae842660cb3217009dbc51e80c99b0b46d381a54df2a0e5df61f47eec17e6a89
MD5 a460921188fa12b591398ba2c5c5d69e
BLAKE2b-256 4f414ffa8a6ca03c8c973d567f8ee5a2a2c3dd72bc11efecd1a3efee4b40e694

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