You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

simple-js-pedersen-commitment

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

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
Source
npm
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

pedersen

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