the.com/plaintext attack
you already know part of the answer, so cracking the rest is just cleanup.
means a cryptanalysis method where the attacker knows some original unencrypted text and its encrypted version, then uses that pair to figure out the key or algorithm.
from formalized in classical cryptanalysis as one of several attack models ranked by how much the attacker knows; the term crystallized during wwii-era codebreaking, when known phrases like weather reports or standard sign-offs in enemy messages gave analysts a toehold into otherwise scrambled ciphers.
wwii usepredictable german message formats helped crack enigma.
variantchosen-plaintext attack lets attacker pick the input.
defensemodern ciphers designed to resist even full plaintext exposure.
everyday riskreused headers or boilerplate text can leak keys.