Implementing the RSA Scheme
Remark
In order for RSA to be secure, it must be computationally infeasible to compute the private key
The adversary should be incapable of factoring
As of 2018, it is recommended that the primes
Setting up RSA
Let
Let
, (See GCD) , (See congruence)
Note that by linear congruence theorem, a solution exists for
Public key:
Private key:
RSA Encryption
With
RSA Decryption
With
We claim that