Let $X \in \text{Bernoulli}(\theta)$ be a D207: Bernoulli random boolean number.
Let $t \in \mathbb{R}$ be a D993: Real number.
Let $t \in \mathbb{R}$ be a D993: Real number.
Then
\begin{equation}
\mathbb{E}(e^{i t X})
= \theta e^{i t} + 1 - \theta
\end{equation}