Skip to main content

Maintenance Mode THIS PROJECT IS CURRENTLY IN MAINTENANCE MODE. Only critical bug patches will be applied; no new features will be added.


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.

Release files for fbpcp 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fbpcp 0.6.4
File Size Uploaded
fbpcp-0.6.4.tar.gz 61.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fbpcp 0.6.4
File Interpreter ABI Platform
fbpcp-0.6.4-py3-none-any.whl Python 3 none any Details

Total release size: 177.1 kB

Release files / fbpcp-0.6.4.tar.gz

Download URL fbpcp-0.6.4.tar.gz
Size 61.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b3210aa411933af52e385092a624940a31a184f9797665f6702b8ba4a10400f7
BLAKE2b-256 checksum
How to use checksums
ff6a0c554c45f92b1e9f883e51b0f72eee6f8988abcc932d38c74913edda7a39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / fbpcp-0.6.4-py3-none-any.whl

Download URL fbpcp-0.6.4-py3-none-any.whl
Size 116.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f93a8ad59c8109f15cc5466fced2f7e1651664652cebfa26af1401ecc8d39f74
BLAKE2b-256 checksum
How to use checksums
fafec539ea660cdf1b1ca7bc3d7d5b0be5f620efd8931aeca9dec2be58eab842
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.6.4 This release

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.11

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page