If , then .
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 .
Articles by others on the same topic
There are currently no matching articles.