RSA : The Process Flashcards

1
Q

What type of cipher is RSA?

A

Block cipher.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is RSA so secure?

A

Due to the infeasibility of factorising large prime numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the standard key length used in RSA?

A

2048 to 4096.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 5 steps of the RSA?

A
  1. Pick 2 large prime numbers (P and Q).
  2. Find N (N = P*Q), find Eu (Eu = (P-1)(Q-1)).
  3. Choose e (public key) - 0 < e < Eu and e and Eu are co-primes (hcf is 1).
  4. Calculate D via the multiplicative inverse of e -> d = (e^-1) mod Eu
    We now have (e,n) and (d,n).
  5. Encrypt and decypt : C = (P^e) mod N; P = (C^d) mod N.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly