@zippie/bls-wasm
v0.6.0
Published
BLS signature for Node.js by WebAssembly
Downloads
123
Readme
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([email protected])