New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

simple-js-pedersen-commitment

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-js-pedersen-commitment

easy and light weight pedersen commitment implementation

1.0.2
latest
Version published
Maintainers
1
Created

simple-pedersen-commitment

this project is intended to make easier usage of commitment technologies for cryto/blockchain type projects. it is intended to be very lightweight and thus will not have many dependencies.

to create a new secret to later reveal:

secret = pederson.newSecret()

to create a sharable commitment:

commitment = pederson.commit(message, secret)

to verify if a commitment is valid:

pederson.verify(message, [commitment, ...], secret)

contribute

bitcoin address: 1KKiniL7QnMPZZLjgGB2Kq1d7zsjUr6TnS

ethereum address: 0x177b258bD53A8F7d8C609A9277A60A51d1e7e0e0

FAQs

Package last updated on 24 Apr 2019

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