How to use the mcl-wasm.init function in mcl-wasm

To help you get started, we’ve selected a few mcl-wasm examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ChainSafe / lodestar / old / index.js View on Github external
async function init () {
  await mcl.init(mcl.BLS12_381)
}

mcl-wasm

mcl ; A portable and fast pairing-based cryptography library for Node.js by WebAssembly

BSD-3-Clause
Latest version published 2 months ago

Package Health Score

77 / 100
Full package analysis