Composite moduli

Let n be a product of distinct primes p1, p2, ... pk. The Chinese Remainder theorem implies we can solve a polynomial f(x) over each Zpi, and then combine the roots together to find the solutions modulo n. This is because a root a of f(x) in Zn corresponds to (a1, a2, ... ak) ∈ Zp1 × Zp2 × ... × Zpk, where each ai is a root of f(x) in Zpi.

Description from https://crypto.stanford.edu/pbc/notes/numbertheory/

(*x2 - ) * (x1 - ) = 0 (mod )




by Kaiying Shan