Polynomial modulo calculator. The algorithm description is just below the calculator.