Coder Social home page Coder Social logo

mpz-play's Introduction

MPZ Play

This is a workshop to get familiar with mpz, which is a PSE library for secure multi-party computation (MPC).

Resources

Learning MPC:

MPZ library:

Getting started

This repository offers some exercises to get exposed to MPC with mpz. Each of these exercises are Rust crates, that start with a number, e.g. 00-connect. In each of theses crates you will find two binaries alice.rs, bob.rs and a library file lib.rs. This library file contains instructions and typically you will need to add some code to the binaries. To complete the exercises run the binaries and see if your code works as expected.

For example to complete lesson 00-connect, you follow the instructions in 00-connect/src/lib.rs. Then in two different terminals run

cd 00-connect
cargo run --bin alice
cargo run --bin bob

Since we use a TCP connection for connecting Alice and Bob, you can work through the exercises together with a colleague. Then each of you only needs to run one binary, either alice.rs or bob.rs, and you can connect to your colleague's machine. This way you can do pair programming and real MPC on different machines :)

mpz-play's People

Contributors

th4s avatar

Stargazers

 avatar GianfrancoBazzani avatar AtHeartEngineer avatar Vivek avatar ying tong avatar Maciej Kalka avatar tkmct avatar Brechy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.