Comments (2)
Thank you so much for the clarification!
from alice.
Hi,
"Birkhoff coefficient" is similar to "Lagrange coefficient".
Given a system of paris {(n_i,x_i)}_{i=1}^n, you can compute the "Birkhoff coefficient." Here n_i means the n_i times differentiation and x_i is the x-coordinate. If n_i =0 for all i, then Birkhoff coefficients can be regarded as Lagrange coefficients.
Taking a simple example, assume that f(x)=3x^2+5x+1 and fix (n_1,x_1) = (1,1), (n_2, x_2) = (1,2), (n_3, x_3) = (0, 3).
Then, you can compute share_1 = 11, share_2 = 17, share_3 = 43. (i.e. f'(x) =6x+5 )
By convention, f(0) = 1 is the secret.
In this case. the definition of Birkhoff coefficient {a_i} is a system of coefficient satisfying
\sum_i a_i * share_i = f(0) = the secret.
In this case, a_1 * 11+a_2 * 17+a_3 * 43 = f(0) = 1.
How to compute Birkhoff coefficient?
Assume that f(x) := ax^2+bx+c, you can list a system of linear equation corresponding to (n_1,x_1) = (1,1), (n_2, x_2) = (1,2), (n_3, x_3) = (0,3):
[0 1 2] [c] [ share_1]
[0 1 4]*[b] = [ share_2]
[1 3 9] [a] [ share_3]
Assume that the above 3x3 matrix is called M. Then you can solve the above system by multiplying the inverse matrix of M:
[c] [share_1]
[b] = M^{-1} * [share_2]
[a] [share_3].
Note that you can observe the first row of M^{-1}, which are "Birkhoff coefficient", since
c = M_{11}*share_1+M_{12}*share_2+M_{13}*share.
The above computation is working in a given field.
You can also see the appendix C in this paper: https://eprint.iacr.org/2017/724.pdf
Remark:
-
If the above matrix M is not square, then we generalize this progress by using pseudo-inverse.
ref:Line 550 in f2af6dd
-
In order to ensure recovering the secret, we need to check that a system of pairs "{(n_i,x_i)}" works well.
ref.
If you have any question, please let me know. Thanks!
from alice.
Related Issues (20)
- "Aux-Info" and "Pre-sign" phase code implementations in Sign protocol of CGGMP HOT 2
- PartialPubKeys are not same after Refresh of CGGMP HOT 1
- WARN: Cannot create a new stream, err = "protocol not supported" HOT 1
- Question about the compatibility of BIP 32 HOT 13
- Protobuf namespace conflict when importing both eddsa and ecdsa signer packages HOT 2
- Different Public key issue when Signing Ethereum Raw Transaction HOT 8
- Purpose of EnsureRank HOT 1
- DKG Example failing "dial backoff" HOT 7
- Have you do range proofs in the Mta functions? HOT 4
- The map relation in https://github.com/getamis/alice/tree/master/crypto/homo/cl HOT 2
- Question) Instructions to use the BIP32 child index HOT 2
- If I want to support currencies such as neo and ont, ecdsa-p256. Can Alice be satisfied?Issue brief description HOT 1
- If I want to support currencies such as neo and ont, ecdsa-p256. Can Alice be satisfied? HOT 1
- If I want to support currencies such as neo and ont, ecdsa-p256. Can Alice be satisfied? HOT 4
- signature verification in evm(solidity) HOT 2
- How to sign and verify MPC signatures in a decentralized way?
- Have you studied the threshold signature of currency neo and can it be applied to this alice? HOT 3
- Error: "different hash" in DKG HOT 1
- [CVE-2023-33241] Bitforge Vulnerability HOT 4
- Is GG-18 vulnerability discovered by Fireblock can be applied to Alice? HOT 1
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 alice.