已弃用: 请使用 noble-curves。 BLS12-381 的最快 JS 实现。
[!WARNING]
The repository has been merged into noble-curves. Please head to the new repo for updates:
// npm install @noble/curves
import { bls12_381 } from '@noble/curves/bls12-381';Fastest JS implementation of BLS12-381. Auditable, secure, 0-dependency aggregated signatures & pairings.
The pairing-friendly Barreto-Lynn-Scott elliptic curve construction allows to:
Compatible with Algorand, Chia, Dfinity, ETH, FIL, ZEC. Matches specs pairing-curves-10, bls-sigs-04, hash-to-curve-12. To learn more about internals, navigate to utilities section.
noble cryptography — high-security, easily auditable set of contained cryptographic libraries and tools.
Use NPM in node.js / browser, or include single file from GitHub's releases page:
npm install @noble/bls12-381
MIT (c) 2019 Paul Miller (https://paulmillr.com), see LICENSE file.
暂无开放 Issues,或尚未同步最近议题。