Kyber wrapper around kilic/bls12381 library.
Note: GT does not fully support the kyber.Point
interface yet.
This repository is the successor of the previous library
bls12381
which was a complete fork of the
upstream library.
Kyber wrapper around kilic/bls12381 library
License: MIT License
Kyber wrapper around kilic/bls12381 library.
Note: GT does not fully support the kyber.Point
interface yet.
This repository is the successor of the previous library
bls12381
which was a complete fork of the
upstream library.
cur github.com/kilic/bls12-381 v0.0.0-20200820230200-6b2c19996391
Can it support github.com/kilic/bls12-381 v0.1.0 ?
print /data/user/mods/pkg/mod/github.com/drand/[email protected]/kyber_g1.go:92:50: cannot use &s.(*mod.Int).V (type *big.Int) as type *bls12381.Fr in argument to bls12381.NewG1().MulScalar /data/user/mods/pkg/mod/github.com/drand/[email protected]/kyber_g2.go:97:50: cannot use &s.(*mod.Int).V (type *big.Int) as type *bls12381.Fr in argument to bls12381.NewG2().MulScalar
when i exec go build
I found that it was a problem with the github.com/kilic/bls12-381 version!
I noticed that this repo has no LICENSE file, while all other parts of drand are open source. Is this on purpose? If so, are there plans to change at some point?
It appears that we are currently re-using the same domain for both G1 and G2 hash to curve functions:
Lines 135 to 140 in 21249c0
Lines 140 to 144 in 21249c0
with Domain
being:
Lines 14 to 16 in 21249c0
This is unfortunate as it makes us non-spec compliant 😢
Security-wise it shouldn't be an issue as long as we are not re-using the same secret on both G1 and G2.
Fr has been introduced now in kilic/ and we should switch to it instead of using our own big.Int wrapper for G1 G2 operations.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.