RSA - Key Generation Encryption
- Introduced in 1977
- Most popular public key algorithm in the world
- Not used for encryption. Mainly for digital signatures
- Keys are usually 2048
- Security is built around the difficulty of factoring large numbers
- Encryption performed by the public key can only be reversed using the private key
- Historically RSA was often used to encrypt session keys
- The authenticity of signatures generated by the private key can be verified by the public key
- Number of integers for in Zm for which gcd(a,m)=1
- Any integer can be expressed as the multiplication of a list of prime numbers
- The longer the value, the harder (and slower) this gets
- States that for some prime p and any integer a:
ap−1==1(modm)
- Choose two large primes, p and q
- Calculate the modulus m=p×q
- Calculate ...
- Choose a value \ep∈2,... where gcd...=1
- Compute d where d×e\eq1(mod...)
65537
- Largest known number of the from 22n+1
- Primes of this form are known as Fermat Primes
- Very useful public exponent for RSA