跳转到主要内容

Facebook私有计算服务

项目描述

FBPCS (Facebook私有计算服务)

安全多方计算(也称为安全计算、多方计算(MPC)或隐私保护计算)是密码学的一个子领域,其目标是创建方法,使各方能够联合计算其输入上的函数,同时保持这些输入的隐私。

FBPCS(Facebook私有计算服务)是一个安全、隐私保护且可扩展的架构,可在虚拟私有云上以分布式方式部署MPC(多方计算)应用。FBPCF(Facebook私有计算框架)通过线程扩展MPC计算,而FBPCS通过私有扩展架构扩展MPC计算。FBPCS包含各种服务、接口,以实现各种隐私度量解决方案,例如私有提升

私有扩展类似于map/reduce架构,对于试图学习计算输入的半诚实对手是安全的。目标是保护每个分片的中间输出,以防止潜在的隐私泄露。

安装要求

在Ubuntu 18.04上工作的先决条件

  • 用于在FBPCS中使用AWS SDK(boto3 API)的AWS账户(访问密钥ID、秘密访问密钥)
  • python >= 3.8
  • python3-pip

在Ubuntu 18.04上安装先决条件

  • python3.8
sudo apt-get install -y python3.8
  • python3-pip
sudo apt-get install -y python3-pip

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

升级fbpcs

  • 升级到GitHub主分支的最新版本
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
  • 升级到PyPI的最新版本
python3.8 -m pip install fbpcs --upgrade

架构

Figure 1: Architecture of FBPCS

服务

  • MPCService是公开接口,提供API将大型数据集的MPC应用程序分发到云中的多个MPC工作者。

其他组件

加入FBPCS社区

许可证

FBPCS遵循MIT许可证,如LICENSE文件中所述。

项目详情


下载文件

下载适合您平台的文件。如果您不确定要选择哪个,请了解更多关于安装包的信息。

源分布

fbpcs-0.4.0.tar.gz (22.1 kB 查看哈希值)

上传时间

构建分布

fbpcs-0.4.0-py3-none-any.whl (41.7 kB 查看哈希值)

上传时间 Python 3

支持者

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面