, Intro to RSA: Public key cryptography
- Rivest, Shamir, and Adleman
- Public key: K → freely available (is a function easy to compute)
- Private key: G → hidden (function hard to compute)
- K(G(x)) = x
- G(K(y)) = y
1. Encrypt with Bob’s public key → only Bob can unlock it (hidden
message)
2. Encrypt with my own private key → Everybody knows I sent the
message (everybody have my public key)
- One-way function
- RSA works with two large prime number p, q
p, q → pq (EASY)
pq → p and q (HARD)
e.g Black coffee and Cream → White Coffee (EASY)
White Coffee → Black Coffee and Cream (HARD)
Practice Assignment: RSA Quiz