I'm studying for an upcoming test and I can't figure out the following sample question:
Let $\Pi = (\operatorname{Gen}, \operatorname{Enc}, \operatorname{Dec})$ be an encryption scheme with key space $\mathcal K$, message space $\mathcal M$, and ciphertext space $\mathcal C$ where $\mathcal K =\mathcal M =\mathcal C = \{0, 1, 2, 3\}$. Algorithm $\operatorname{Gen}$ returns a uniformly random key $k$ in $\mathcal K$. For any key $k$ in $\mathcal K$ and any message $m$ in $\mathcal M$, $\operatorname{Enc}(m)$ using key $k$ is defined as $(m + k) \bmod 4$. For any key $k$ in $\mathcal K$ and ciphertext $c$, $\operatorname{Dec}(c)$ using key $k$ is defined as $(c - k) \bmod 4$.
a) Prove that $\operatorname{Dec}(\operatorname{Enc}(m)) = m$ using key $k$ holds for any key $k$ in $\mathcal K$ and any message $m$ in $\mathcal M$.
b) Prove or disprove: $\Pi$ is perfectly secret.
The formal definition of "perfectly secret" used is:
An encryption scheme (Gen, Enc, Dec) over a message space $\mathcal M$ is perfectly secret if for every probability distribution over $\mathcal M$, every message $m$ in $\mathcal M$, and every ciphertext $c$ in $\mathcal C$ for which $Pr[\mathcal{C} =c] > 0: Pr[\mathcal{M}=m | \mathcal{C}=c] = Pr[\mathcal{M}=m]$.
In this scheme, keys can be reused.