fbpcs-0.4.0
توضیحات
Facebook Private Computation Service
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fbpcs-0.4.0 |
| نام | fbpcs |
| نسخه کتابخانه | 0.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | |
| ایمیل نویسنده | researchtool-help@fb.com |
| آدرس صفحه اصلی | https://github.com/facebookresearch/FBPCS |
| آدرس اینترنتی | https://pypi.org/project/fbpcs/ |
| مجوز | - |
# FBPCS (Facebook Private Computation Service)
[Secure multi-party computation](https://en.wikipedia.org/wiki/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](https://github.com/facebookresearch/fbpcf) (Facebook Private Computation Framework) is for scaling MPC computation up via threading, while FBPCS is for scaling MPC computation out via [Private Scaling](https://github.com/facebookresearch/FBPCS/blob/main/docs/PrivateScaling.md) architecture. FBPCS consists of various services, interfaces that enable various private measurement solutions, e.g. [Private Lift](https://github.com/facebookresearch/fbpcf/blob/master/docs/PrivateLift.md).
[Private Scaling](https://github.com/facebookresearch/FBPCS/blob/main/docs/PrivateScaling.md) 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
```sh
sudo apt-get install -y python3.8
```
* python3-pip
```sh
sudo apt-get install -y python3-pip
```
## Installing fbpcs
```sh
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
```sh
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
```sh
python3.8 -m pip install fbpcs --upgrade
```
## Architecture
<img src="https://github.com/facebookresearch/FBPCS/blob/main/docs/PCSArch.jpg?raw=true" alt="Figure 1: Architecture of FBPCS" width="50%" height="50%">
### 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](https://github.com/facebookresearch/FBPCS/blob/main/docs/FBPCSComponents.md)
## Join the FBPCS community
* Website: https://github.com/facebookresearch/fbpcs
* See the [CONTRIBUTING](https://github.com/facebookresearch/FBPCS/blob/main/CONTRIBUTING.md) file for how to help out.
## License
FBPCS is [MIT](https://github.com/facebookresearch/FBPCS/blob/main/LICENSE) licensed, as found in the LICENSE file.
نیازمندی
| مقدار | نام |
|---|---|
| ==1.11.11 | boto3 |
| ==0.5.2 | dataclasses-json |
| ==5.4.1 | pyyaml |
| ==4.55.1 | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl fbpcs-0.4.0:
pip install fbpcs-0.4.0.whl
نصب پکیج tar.gz fbpcs-0.4.0:
pip install fbpcs-0.4.0.tar.gz