Skip to content

python implementation of Yao's solution to the Millionaire's Problem

Notifications You must be signed in to change notification settings

YanBC/yao_millionaire_problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yao's Millionaire Problem

python implementation of Yao's Millionaire Problem protocol as specified in Protocols for secure computations

requirements

  • python3
  • and all packages in requirements.txt

usage

First off, start a node server, think of it as your Bob

# usage
# python node_server.py -h
python node_server.py 8 # 8 is the number of millions Bob owned

Then, start a node client, this is your Alice

# usage
# python node_client.py -h
python node_client.py ws://127.0.0.1:16233

About

python implementation of Yao's solution to the Millionaire's Problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages