python implementation of Yao's Millionaire Problem protocol as specified in Protocols for secure computations
- python3
- and all packages in
requirements.txt
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