npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@auxo-dev/dkg

v0.4.11

Published

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

Downloads

271

Readme

DKG for Threshold Homomorphic Encryption

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