Skip to content

junyu33/GMW-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple GMW protocol python implementation

This is a simple implementation of the GMW protocol in python. The GMW protocol is a secure multi-party computation protocol that allows multiple parties to compute a function on their inputs without revealing their inputs to each other.

requirements

  • python3.8+

Usage

modify your gates in the gates.py file, and then run start.sh. The result will be printed to the console.

./start.sh <person> <mode> <0-31> [<ip of bob>] [<port>]

where 0 stands for Alice and 1 stands for Bob in person arg.

c for compare (x>=y) and a for addition (mod 32) in mode arg.

references

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published