Comments (3)
@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.
@JustinDrake 50 pairings per second now.
from noble-bls12-381.
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)
- Make instructions on usage in the browser clearer HOT 3
- Are there any plans to write a blog about bls12-381 HOT 2
- Is this a typo? HOT 1
- Cannot assign to 'DST_LABEL' because it is a read-only property.ts(2540) HOT 2
- Understand why g1_on_curve from paper is slower than cofactor multiplying
- Cannot convert a BigInt value to a number HOT 1
- Support for Deno runtime HOT 3
- Option to choose curve for hash_to_field HOT 5
- Is there a way to verify a single message with only an aggregate signature and aggregate public key?
- setDSTLabel can not change htfDefaults.DST
- Add support for G2 public keys with G1 signatures HOT 4
- Issue when using with react-native HOT 1
- Possible missing edge case in `modexp` function HOT 2
- Can this library generate 160 bits (20 bytes) signature? HOT 1
- Error printing zero points HOT 4
- HashToCurve on G1 points HOT 4
- On "constant time" HOT 2
- Encryption
- The default implementation is incompatible with Ethereum specification HOT 1
- how to understand the precomputes of Miller Loop in noble-bls12-381? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noble-bls12-381.