Giter Club home page Giter Club logo

Comments (3)

paulmillr avatar paulmillr commented on June 18, 2024 1

@JustinDrake the recent release is now faster than eth's py_ecc.

Still need to use frobenius endomorphism and vectorial addition chain to make it much faster. Work in progress.

from noble-bls12-381.

paulmillr avatar paulmillr commented on June 18, 2024 1

@JustinDrake 50 pairings per second now.

from noble-bls12-381.

paulmillr avatar paulmillr commented on June 18, 2024

The initial goal of this lib was to provide any bls12 infrastructure for JS; it must've been totally readable and auditable. A big problem in node community right now is the fact that every dependency has 10 sub-dependencies, all of which may be backdoored.

Right now it's pretty slow. We'd love to increase performance over the time. But it's good enough, if somebody wants to make a wallet.

Added to README:

Pairing#test x 1.05 ops/sec ±1.43% (7 runs sampled)
getPublicKey#test x 1,080 ops/sec ±0.88% (85 runs sampled)
sign#test x 16.32 ops/sec ±1.08% (75 runs sampled)
verify#test x 0.48 ops/sec ±0.74% (7 runs sampled)
aggregateSignatures#test x 161 ops/sec ±0.92% (79 runs sampled)

from noble-bls12-381.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.