# Lecture 11 Exam info posted tonight. ## Chapter 3: Indistinguishability and pseudo-randomness ### Pseudo-randomness Idea: **Efficiently** produce many bits which "appear" truly random. #### One-time pad $m\in\{0,1\}^n$ $Gen(1^n):k\gets \{0,1\}^N$ $Enc_k(m)=m\oplus k$ $Dec_k(c)=c\oplus k$ Advantage: Perfectly secret Disadvantage: Impractical The goal of pseudo-randomness is to make the algorithm, computationally secure, and practical. Let $\{X_n\}$ be a sequence of distributions over $\{0,1\}^{l(n)}$, where $l(n)$ is a polynomial of $n$. "Probability ensemble" Example: Let $U_n$ be the uniform distribution over $\{0,1\}^n$ For all $x\in \{0,1\}^n$ $P[x\gets U_n]=\frac{1}{2^n}$ For $1\leq i\leq n$, $P[x_i=1]=\frac{1}{2}$ For $1\leq i