Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herumi/bls-wasm
BLS signature for Node.js by WebAssembly
https://github.com/herumi/bls-wasm
Last synced: 19 days ago
JSON representation
BLS signature for Node.js by WebAssembly
- Host: GitHub
- URL: https://github.com/herumi/bls-wasm
- Owner: herumi
- Created: 2017-11-05T09:17:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T03:53:09.000Z (about 2 months ago)
- Last Synced: 2024-10-13T20:46:02.225Z (about 1 month ago)
- Language: JavaScript
- Size: 3.33 MB
- Stars: 47
- Watchers: 5
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
[![Build Status](https://github.com/herumi/bls-wasm/actions/workflows/main.yml/badge.svg)](https://github.com/herumi/bls-wasm/actions/workflows/main.yml)
# BLS signature for Node.js by WebAssembly
# Abstract
- Fr : SecretKey, G2 : PublicKey, G1 : Signature
- see [bls-eth-wasm](https://github.com/herumi/bls-eth-wasm) if you need Ethereum 2.0 compatible sign/verify.
- see [bls](https://github.com/herumi/bls) and [BLS demo on browser](https://herumi.github.io/bls-wasm/browser/demo.html)## 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 : ``## 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([email protected])
# Sponsors welcome
[GitHub Sponsor](https://github.com/sponsors/herumi)