Creators: Ron Rivest, Adi Shamir and Leonard Adleman
RSA (Rivest-Shamir-Adleman) is one of the oldest public key cryptosystem, that is widely used for secure data transmission.
An equivalent system was developed secretly in 1973 at Government Communications Headquarters (GCHQ) by the English mathematician Clifford Cocks. That system was declassified in 1997.
The security of the algorithm is base on the principle:
Warning RSA is not post-quantum secure.
Note
Alice wants to send a message to Bob using RSA PKC.
Bob choose two secret primes
Then, he choose an encryption exponent
Finaly, he publishes
Alice write a message
Then she uses Bob's public key
Finaly, she sends the ciphertext
Bob computes
Then he compute
There are several possible attacks on RSA if the implementation is poorly done.
CryptoHack offers many interesting challenges on this subject.
With poorly chosen secret primes
In order to avoid danger of Pollard's p-1 factorization algorithm we simply need to check that the chosen secret primes have the property that neither
-
An Introduction to Mathematical Cryptography (Second edition)