Please help me I am new to c# and I need to write a code for RSA using C#. I have seen your project "Image Cryptography" and what I want to do is use a modified RSA not the original one. The following steps are used to used for the modified RSA;
1. select 2 primes and 2 random numbers (p,q,x,y)
2. compute Z1 = p.q.x.y and Z2 = p.q
3. compute phi(z)= (p-1)(q-1)(x-1)(y-1)
4. choose e: 1< e <phi(z)>
5. d *e= 1*mod (Phi (z))
Please help me, what should be changed in the code to satisfy my needs.