Socket
Socket
Sign inDemoInstall

simple-js-pedersen-commitment

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    simple-js-pedersen-commitment

easy and light weight pedersen commitment implementation


Version published
Weekly downloads
11
increased by450%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 24 Apr 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc