GithubHelp home page GithubHelp logo

isabella232 / erlang-dkg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helium/erlang-dkg

0.0 0.0 0.0 1.62 MB

Distributed key generation for Erlang (using pairing based cryptography)

License: Apache License 2.0

Makefile 0.21% Erlang 99.62% Shell 0.17%

erlang-dkg's Introduction

erlang-dkg

Build Status codecov

An implementation of the protocol described in "Distributed Key Generation in the Wild" (see references) for Erlang (using pairing based cryptography). This library will allow some number of Erlang processes (where N >= 4) to generate one PBC (see here for more details) key in a manner tolerant of Byzantine faults.

Some limitations, where this code does not implement the full protocol:

  • It produces only one key, as it does not support round changes.
  • It does not implement the pessimistic phase (leader change). Recovery (or rather retry) is handled outside of the protocol.
  • It does not implement the recovery phase. Since there is no concept of rounds, a user must start a new dkg if the process fails or times out.

This code is not run directly, but as a relcast behavior. To see an example of how this code is run and used, see here.

Build

$ make

Test

$ make test

References

erlang-dkg's People

Contributors

evanmcc avatar jaykickliter avatar madninja avatar vagabond avatar vihu 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.