Click here to Skip to main content
14,430,298 members
Rate this:
Please Sign up or sign in to vote.
See more:

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.

Many thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100