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
  1. runs and sends to
  2. A chooses and sends them to
  3. samples , uniform of random (Tossing a coin pretty much)
  4. outputs
  5. wins if