Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight High
- Public-key: encrypt with the receiver’s PUBLIC key for confidentiality; sign with your PRIVATE key for authentication.
Exam trapConfidentiality: encrypt with the RECEIVER’s public key. Signature: encrypt (sign) with the SENDER’s private key.
🎯 How this can come up · 2 questions
MCQ
To send Bob a confidential message, Alice encrypts with:
Correct: Bob’s public key.
MCQ
A digital signature is created with:
Correct: The sender’s private key.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Applications: encryption/decryption, digital signatures, key exchange.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- RSA (Rivest–Shamir–Adleman): security rests on the difficulty of factoring large n = pq.
Exam weight Low
Exam weight Low
Exam weight High
- Key setup: pick primes p, q; n = pq; φ(n) = (p−1)(q−1); choose e with gcd(e, φ) = 1; d = e⁻¹ mod φ. Public (e, n), private (d, n).
Exam weight Low
Exam weight High
- Example: p = 17, q = 11 → n = 187, φ = 160, e = 7, d = 23 (7·23 = 161 ≡ 1 mod 160).
🎯 How this can come up · 1 question
Written
p = 5, q = 11, e = 3. Find n, φ(n) and d.
n = 55, φ = 4·10 = 40. d = 3⁻¹ mod 40 = 27 (3·27 = 81 = 2·40 + 1).
Exam weight High
- Encrypt C = Mᵉ mod n; decrypt M = Cᵈ mod n. With the example, M = 88 → C = 88⁷ mod 187 = 11.
🎯 How this can come up · 1 question
MCQ
In RSA, decryption computes:
Correct: M = Cᵈ mod n.
Exam weight Low
- Square-and-multiply makes huge exponents fast.
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
- Attacks: brute force on d, factoring n (keys ≥ 2048 bits), timing attacks (constant-time code, blinding), chosen-ciphertext attacks (OAEP padding).
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
Exam weight Low
No slides match this filter.

















