Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Private set intersection implemented in Python

License

NotificationsYou must be signed in to change notification settings

delta-mpc/python-psi

Repository files navigation

中文版

Overview

Delta PSI is a python private set intersection library which implements aKKRT16 protocolbased on cuckoo hashing and OT (oblivious transfer).

Install

Clone this repository, and run command

pip install .

Command

Initialize config file:

psi_run init

This command will generate a config file in locationconfig/config.yaml

Start PSI server:

PSI_CONFIG=<CONFIG> psi_run server <address>

The<CONFIG> means server config file location, and<address> means PSI client address.

Start PSI client:

PSI_CONFIG=<CONFIG> psi_run client <address>

The<CONFIG> means client config file location, and<address> means PSI server address.

DEMO

Run these two commands:

PSI_CONFIG=config/server.config.yaml psi_run server 127.0.0.1:2345
PSI_CONFIG=config/client.config.yaml psi_run client 127.0.0.1:1234

to start the demo.

For PSI server, the config file is inconfig/server.config.yaml, the input data file is inserver_data.txt and the output result file is inserver_result.txt.

For PSI client, the config file is inconfig/client.config.yaml, the input data file is inclient_data.txt and the output result file is inclient_result.txt.

Note

This repository is in developing, only for learning purpose andshould not be used in production environment.

Contact Us

lencyforce@gmail.com

About

Private set intersection implemented in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp