IND-CPA Game
Intuition
With the challenger providing 2 mesages, the adversary attempts to guess which ciphertext the message belongs to. For an algorithm to be Indistinguishable, the adversary should have a 50% probability overall.
Formal Definition
With:
- is adversary
- is challenger
- runs and sends to
- A chooses and sends them to
- samples , uniform of random (Tossing a coin pretty much)
- outputs
- wins if