Comments (3)
I like the idea in general a lot, though keep in mind the following (which was the main reason it was designed like this) - when instantiating a large BH hasher, we need to generate a lot of base points, which can take noticable time.
from celo-bls-snark-rs.
That makes sense. In those cases, I believe that we could make them return copies of a lazily evaluated singleton instance.
Another question is should the new()
method take in the domain? I imagine in the general case, you can cache the work needed for domains / personalizations. (For instance if you set a personalization string to be the first block of what you hash.
from celo-bls-snark-rs.
That makes sense. In those cases, I believe that we could make them return copies of a lazily evaluated singleton instance.
Another question is should the
new()
method take in the domain? I imagine in the general case, you can cache the work needed for domains / personalizations. (For instance if you set a personalization string to be the first block of what you hash.
Yep, singleton instances might work here, which is similar to what we do now, but more explicitly.
About domain, I don't have a strong preference either way. In the use-cases I'm imagining this optimization would be hard to apply anyway.
from celo-bls-snark-rs.
Related Issues (20)
- Ensure bit encodings and reversals done in a principled manner
- Fine-grained unit tests for HashToGroup
- Add clearly defined behavior for constant values
- Add detailed documentation to each gadget
- HashToCurve: What is extra data for? HOT 4
- Migrate to arkworks
- Prove security of BLS aggregation HOT 9
- Remove num non signers from setup throughout the entire API
- Implement parallelized deserialization of large vectors in arkworks
- Expose an interface to accumulate new signatures into an existing multisignature
- Create a Go wrapper in celo-bls-go
- Make sure reduced-size scalar multiplication is efficient
- Expose interfaces to work with decompressed points HOT 1
- Support efficient streaming BLS batch verification HOT 1
- Produce benchmark reports HOT 3
- Phase 1 setup random beacon HOT 5
- Study about Plumo
- Phase 2 setup random beacon HOT 2
- Fragile dependencies on arkworks (build break for any dependent)
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 celo-bls-snark-rs.