applied-crypto crypto what is it? indistinguishability under chosen-plaintext attacks
LR oracle
the experiment:
- adversary can query encryption oracle
- adversary sends 2 equal length messages
- challenger picks random
- challenger returns
- adversary outputs guess
advantage:
to break IND-CPA, we need advantage noticeable larger than 0
weaknesses:
-
deterministic encryption
-
part of ciphertext leaks information
-
message-dependent AES input
strategy options
template
choose some message M
query encryption oracle to obtain C
construct challenge messages M0, M1 using information from C[0]
receive challenge ciphertext C*
check a relation between blocks
output guessgoal: produce a test that reveals b