|
|
|
|
|
by Someone
3159 days ago
|
|
If you use good encryption and a reasonable key size, that’s good in practice, but theoretically, that’s a lot less secure than a one time pad. An attacker can ‘simply’ try all possible keys and use statistics to filter out those that look like natural language. If the encrypted text is large enough, chances are you will be left with only one plausible plaintext. Also, AFAIK, we don’t know whether good encryption using a key much shorter than the plaintext, in the sense that an attacker can’t use statistics on the encrypted text to learn something about the key, exists at all. |
|
As you say, there doesn't seem to be a way to guess the key length from the ciphertext. Ignoring side channel attacks for the moment, it does seem like the one time pad could encrypt the entire message simply by using some clever way of "extending" the key.