For pairwise coprime positive integers , every system has a unique solution modulo .
Euler's totient is , equivalently the number of units modulo .
If , then .
The Chinese remainder isomorphism restricts to a bijection on units. Counting those units gives .
Write squarefree . For each , either , when both sides vanish modulo , or Fermat's theorem applies. Since and , it gives . The Chinese remainder theorem combines these congruences to give .
RSA chooses and exponents with . The public key is , encryption is , and the secret exponent decrypts via . Security relies on the difficulty of recovering from a large unfactored .
Choose a prime with , and set , . Then , but is divisible by . Therefore for every .

Articles by others on the same topic (0)

There are currently no matching articles.