RSA Algorithm
RSA Algorithm
Algorithm
RSA Algorithm
Overview
RSA, named after its inventors Rivest, Shamir, and Adleman, is
a widely used public-key cryptosystem used for secure data
transmission.
The concept of public-key cryptography was first introduced in
1976 by Whitfield Diffie and Martin Hellman.
RSA was developed by Ron Rivest, Adi Shamir, and Leonard
Ron Rivest Adi Shamir
Adleman at the Massachusetts Institute of Technology (MIT) in
1977, focusing on the mathematical difficulty of factoring large
prime numbers.
The algorithm was officially introduced in 1978, highlighting its
reliance on modular arithmetic and number theory.
MIT granted a patent for RSA in 1983, which expired in 2000,
making it freely available.
RSA became the standard for encryption in software like PGP
and protocols like SSL/TLS.
RSA remains foundational in cryptographic systems, with
newer algorithms like ECC gaining prominence.
The security of RSA relies on the computational infeasibility of
factoring large numbers, a challenge that quantum computers
could potentially overcome. Leonard Adleman
Encryption
C=P e
mod n
Decryption
P = C mod n
d
RSA Process
Public Key = { e , n }
Private Key = { d , n }
•Choose two distinct prime numbers, p and q , ensuring they are large enough to provide
security.
Compute n:
•n=p×q. This value is part of both the public and private keys.
Result
n=p*q
N=5*3
= 15
ϕ(n)=(p−1)(q−1)
=(3-1) (5-1)
=(2 * 4 )
=8