Giter VIP home page Giter VIP logo

mpc's Introduction

RenVM MPC

RenVM's Secure Multi-Party Computation Protocol

Build License: GPL v3


This is an implementation of a threshold ECDSA scheme, that is for use in RenVM. For a network of n parties, this scheme is robustly secure against t malicious adversaries, such that n >= 3t + 1. During both ECDSA key generation and signing, up to t parties can go offline at the beginning, middle, or end of a round, and the protocols will complete successfully without the need to go back repeat from a prior round.

Overview

MPC Primitives are the building blocks for threshold ECDSA, namely Open, BRNG, RNG/RZG and RKPG, are implemented in their own packages. We make use of Pedersen's Commitment Scheme to augment Shamir's Secret Sharing Scheme to a Verifiable Secret Sharing Scheme, which is implemented as a separate package.

Finite State Machine

MPC primitives are implemented as finite-state machines. A general state transitional behaviour is described below.

A Primitive in some State receives messages of the form Transition* with one or more message arguments. On receiving such a message, the Primitive must:

  • Preliminary checks
    • Ensure that it is in an appropriate state to process the message
    • Ensure that the message arguments are valid
  • Process message
    • Do the necessary computations with the message arguments
    • Do the necessary state transition
  • Return an appropriate event that describes
    • If the machine has transitioned
    • How the machine has processed the message
    • Whether the message arguments were invalid

For more information regarding various primitive protocols and their state transitions, refer RenVM MPC's Wiki.

Development Status

  • Open
  • Biased Random Number Generation
  • Unbiased Random Number Generation
  • Random Zero Generation
  • Random KeyPair Generation
  • Multiply and Open
  • Inversion
  • Threshold ECDSA

License

RenVM MPC is GNU GPL v3 licensed


Built with โค by Ren.

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.