🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@auxo-dev/dkg

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auxo-dev/dkg

Auxo's DKG Module for the On-chain Funding platform on Mina blockchain

latest
npmnpm
Version
0.4.11
Version published
Maintainers
3
Created
Source

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

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

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

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

  • 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:

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

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

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

Future Work

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

  • 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.

  • 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

Keywords

mina-zkapp

FAQs

Package last updated on 05 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts