[go: up one dir, main page]

Skip to content

A Python implementation of Garbled Circuits MPC protocol

Notifications You must be signed in to change notification settings

stong/mpc-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read the full blog post here

https://www.zellic.io/blog/mpc-from-scratch/

MPC from Scratch

A toy, educational implementation of Garbled Circuit protocol from scratch in Python

Note: this uses TEXTBOOK cryptography and textbook RSA for illustrative purposes. Don't use it in production

Circuit synthesis is done using Yosys. It synthesizes circuit.v (high level logic) into out.v which is only gate level logic. Then the MPC implementation uses a hacky Verilog parser to get the circuit

About

A Python implementation of Garbled Circuits MPC protocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published