How is it that you calculate e and d such that ed=(p-1)(q-1)+1? Isn't this a factoring problem?(adsbygoogle = window.adsbygoogle || []).push({});

How can you be sure that (p-1)(q-1)+1 is not prime?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# RSA Algorithm

**Physics Forums | Science Articles, Homework Help, Discussion**