RSA : The Process Flashcards
1
Q
What type of cipher is RSA?
A
Block cipher.
2
Q
Why is RSA so secure?
A
Due to the infeasibility of factorising large prime numbers.
3
Q
What is the standard key length used in RSA?
A
2048 to 4096.
4
Q
What are the 5 steps of the RSA?
A
- Pick 2 large prime numbers (P and Q).
- Find N (N = P*Q), find Eu (Eu = (P-1)(Q-1)).
- Choose e (public key) - 0 < e < Eu and e and Eu are co-primes (hcf is 1).
- Calculate D via the multiplicative inverse of e -> d = (e^-1) mod Eu
We now have (e,n) and (d,n). - Encrypt and decypt : C = (P^e) mod N; P = (C^d) mod N.