IT lexicon › Security › Ciphertext-only attack

Ciphertext-only attack

Security På svenska → Updated: 2026-10-11

The attacker has nothing but the encrypted messages – no plaintexts, no access to the encryption.

The weakest adversary on the cryptanalytic scale, and so the most damning when it succeeds: a cipher that falls here falls to anyone listening on the wire. Al-Kindi's frequency analysis in the ninth century is the classic case – language statistics leak straight through any monoalphabetic substitution, and the Kasiski examination does the same for Vigenère.

Modern ciphers are expected to withstand far stronger attackers, so bare ciphertext rarely gets anyone far today. The exceptions are leaky implementations: WEP fell partly because RC4's first output bytes were statistically biased and its initialisation vectors too short.

← Back to the lexicon