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

Upgrading fbpcs

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

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

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

Uploaded Source

Built Distribution

fbpcs-0.2.0-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fbpcs-0.2.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fbpcs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ed855b0625e34c3d402e6c0dc554fda67380d4cea186ae42e4e21b5a66737113
MD5 0ed6b0e7400532c848ee7ad194458627
BLAKE2b-256 0f4346fbecf7bae1e484a852d407a05bc74975e760ba8a508a08baab06ec8a93

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: fbpcs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 39.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fbpcs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28ef10fde5ab400f966d25417005636962b217cfcc609d5338d295b37429a232
MD5 5f83b542e7e6b901f44d1dcf91c93ccc
BLAKE2b-256 d03fe40db6f15af72a3c07c2e3c5838a6b152a09267201611a2a01b7bc395577

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