(Encryption) • D(C) = Cd mod n = M (Decryption) • RSA parameters and basic (not secure) operations: – p, q, two big prime numbers (private, chosen) – n = pq, f(n) = (p-1)(q-1) (public, calculated) – e, with gcd(f(n), e) = 1, 1<e<f(n) (public, chosen) – d = e-1 mod f(n) (private, calculated) • D(E(M)) = Med mod n = M kf(n)+1 = M (Euler’s theorem)