Socket
Socket
Sign inDemoInstall

bls-wasm

Package Overview
Dependencies
0
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bls-wasm

BLS signature for Node.js by WebAssembly


Version published
Weekly downloads
1.2K
decreased by-15.13%
Maintainers
1
Install size
1.27 MB
Created
Weekly downloads
 

Readme

Source

Build Status

BLS signature for Node.js by WebAssembly

Abstract

  • Fr : SecretKey, G2 : PublicKey, G1 : Signature
  • see bls-eth-wasm if you need Ethereum 2.0 compatible sign/verify.
  • see bls and BLS demo on browser

How to use

The version v0.4.2 breaks backward compatibility of the entry point.

  • Node.js : const bls = require('bls-wasm')
  • React : const bls = require('bls-wasm/browser')
  • HTML : <script src="https://herumi.github.io/bls-wasm/browser/bls.js"></script>

for Node.js

node test/test.js

for browser

Include browser/bls.js

for React

const bls = require('bls-wasm/browser')

License

modified new BSD License http://opensource.org/licenses/BSD-3-Clause

Author

MITSUNARI Shigeo(herumi@nifty.com)

Sponsors welcome

GitHub Sponsor

Keywords

FAQs

Last updated on 29 Nov 2023

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