The attacker knows at least one sample of both the plain text and the cipher text.
The attacker knows at least one sample of both the plain and the cipher text.
In most cases this is recorded real communication.
If XOR cipher is used for example, this will reveal the key as plaintext xor ciphertext
.