February 19, 2002
Practical Aspects of Modern Cryptography
25
Lagrange Interpolation
nFor each point (i,P(i)), construct a polynomial Pi with the correct value at i and a value of zero at the other given points.
nPi(x) = P(i) × ∏(j≠i)(x-j) ÷ ∏(j≠i)(i-j)
n
nP(x) = ∑i Pi(x)