February 2020
Beginner
621 pages
19h 34m
English
Suppose we have a (5, 8) Shamir secret sharing scheme. Everything is mod the prime . Five of the shares are
Find the secret.
SOLUTION
One way: First, find the Lagrange interpolating polynomial through the five points:
In[1]:= InterpolatingPolynomial[ { {9853, 853 }, {4421, 4387 }, {6543, 1234 }, {93293, 78428 }, {12398, 7563 } }, x]
Out[1]=
Now evaluate at to find the constant term (use to evaluate at ):
In[2]:= %/. x - > 0
Out[2]=
Read now
Unlock full access