Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Lagrange Polynomial Interpolator.
see http://en.wikipedia.org/wiki/Lagrange_polynomial

src/p/y/PySSSS-HEAD/pyssss/PySSSS.py   PySSSS(Download)
from GF256elt import GF256elt
from PGF256 import PGF256
from PGF256Interpolator import PGF256Interpolator
 
def pickRandomPolynomial(degree,zero):
def decode(keys,output):
 
  interpolator = PGF256Interpolator()
  zero = GF256elt(0)