Git Product home page Git Product logo

distributed-key-generation's Introduction

DKG for Threshold Homomorphic Encryption

Auxo Logo

An On-chain Funding Platform with privacy-preserving features powered by ZKP.

NPM Version Package License NPM Downloads

Demo:

Videos - Public Testnet (In-progress)

Description

The Distributed Key Generation (DKG) protocol is a fundamental cryptographic module in our platform. This protocol ensures the secure generation of asymmetric cryptographic keys in a distributed manner, preventing any single entity from having complete access to sensitive key information. The generated keys can be used by the Threshold Homomorphic Encryption service, which enable privacy-preserving features such as Private Funding or Private Voting on our platform.

Features

  1. Committee Management: Creation and configuration of a key generation committee with a security threshold of T / N members.

  2. Key Generation: Committee members contribute their random inputs and computation result to generate encryption public keys.

  3. Key Usage: Services can request to use generated keys for their use cases.

  4. Threshold (Additive) Homomorphic Encryption: This service allows an arbitrary number of users to encrypt their secret vectors and the sum vector can be computed without decrypting the encryption submissions. And the final results can only be computed after T / N members submitted their response contribution.

Applications

This protocol can support various applications that prioritize data privacy and security. Some of the applications that can benefit from DKG include:

  1. Private Funding: Applications dealing with financial transactions and investments can use DKG to secure sensitive financial data.

  2. Private Voting: DKG can be employed to create secure voting systems where individual votes remain confidential, preventing unauthorized access or manipulation.

  3. Social Recovery: DKG can aid in securely recovering lost or forgotten passwords or keys without compromising user data privacy.

Future Work

  1. Fee Configuration: Committees will soon be able to configure custom fee paid by other services for key usages.

  2. Supports for other use cases: Currently, our DKG protocol supports generation of public keys compatible to Pasta Curves and ElGamal encryption scheme based on those curves. We are open for partnership and collaboration to work on supporting other schemes and use cases.

  3. Public Docker Image: This protocol and its application for user interaction requires the availability of some services: Reducer Service, REST Service, and Storage Service. These services are open-sourced and will be published as public docker images to allow anyone with interests to run and maintain by themselves.

How to build

npm run build

How to run tests

npm run test
npm run testw # watch mode

How to run coverage

npm run coverage

License

Apache-2.0

distributed-key-generation's People

Contributors

huyminh1115 avatar phn210 avatar

Stargazers

 avatar  avatar

Forkers

anonymityadvoc8

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.