Course notes (chap. 1 Number Theory, chap. 2 ... - McGill University
Course notes (chap. 1 Number Theory, chap. 2 ... - McGill University
Course notes (chap. 1 Number Theory, chap. 2 ... - McGill University
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Shafi Goldwasser<br />
Silvio Micali<br />
This leads to the Goldwasser-Micali probabilistic encryption algorithm:<br />
Init: Alice starts by selecting two large distinct prime numbers p and q.<br />
She then computes n = pq and selects a pseudosquare y. n and y will be<br />
public, p and q private.<br />
Algorithm 1.7 ( Goldwasser-Micali probabilistic encryption )<br />
1: Represent message m in binary (m = m 1 m 2 ...m t ).<br />
2: FOR i =1TO t DO<br />
3:<br />
∗<br />
Pick x ∈ R Z n<br />
4: c i ← y m i<br />
x 2 mod n<br />
5: RETURN c = c 1 c 2 ...c t