RSA Implementation in C#
问题 I am trying to implement the RSA Algorithm in C#. The code below works when p and q are small, but not when trying to replicate RSA-100 or greater where p and q are very large. For example when: p = 61, q = 53, n = 3233, phi(n) = 3120, e = 17, d = 2753 Once decrypted, I get the correct original messsage. I got these values from the RSA Wikipedia page. The code also works for other small values of p and q. However, when using RSA-100 or greater, I do not get back my original message. I have