- Notifications
You must be signed in to change notification settings - Fork29
Private set intersection implemented in Python
License
delta-mpc/python-psi
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Delta PSI is a python private set intersection library which implements aKKRT16 protocolbased on cuckoo hashing and OT (oblivious transfer).
Clone this repository, and run command
pip install .Initialize config file:
psi_run initThis 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.
Run these two commands:
PSI_CONFIG=config/server.config.yaml psi_run server 127.0.0.1:2345PSI_CONFIG=config/client.config.yaml psi_run client 127.0.0.1:1234to 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.
This repository is in developing, only for learning purpose andshould not be used in production environment.
About
Private set intersection implemented in Python
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.