@auxo-dev/dkg
TypeScript icon, indicating that this package has built-in type declarations

0.4.9 • Public • Published

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

Package Sidebar

Install

npm i @auxo-dev/dkg

Weekly Downloads

519

Version

0.4.9

License

Apache-2.0

Unpacked Size

2.61 MB

Total Files

201

Last publish

Collaborators

  • raijinryuu
  • huyminh1115
  • phn210