GithubHelp home page GithubHelp logo

dkg's Introduction

dkg

Distributed key generation

This repository is a work in progress. It contains an implementation of ECDKG by Tang using the group interface from dedis/kyber. This integration allows different elliptic curves such as Secp256k1 (with tests) and bn256 (on master) to be used in the dkg scheme.

Installation

go get https://github.com/gnosis/dkg

Take a look at the test for intended use.

*Please Note: The messaging/network layer of the scheme has not been implemented.

dkg's People

Contributors

cag avatar collinc97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dkg's Issues

Implement universal curve interface

Currently, there are separate branches for each curve. There are many curves out there, so we should re-design to accommodate them without multiple branches.

Add toy group

For tests, oftentimes a real cryptographic group can be hard to use for verifying crypto protocols to be correctly working. For this reason, a toy group (maybe a toy pairing group?) may be desirable.

Research Broadcast Messaging Options

Some existing options:

  • ZeroMQ
  • IPFS
  • libp2p (underlies IPFS)
  • devp2p (underlies Ethereum)

Some requirements:

  • Nodes have to be able to get all info they need even if they join late or their connection is spotty or something.

Private messaging security

How to make sure messages are authenticated and encrypted on the tech we end up choosing for messaging.

Finish Lagrange Interpolate Zero

Example Test:

  1. create a random polynomial with threshold t
  2. sample t points from it (x1, fX1) ... (xt, fXt) (this is using the evaluate function)
  3. pass those points into LagrangeInterpolateZero(..) and verify that the result of that == random polynomial evaluated at 0

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.