0

This question may seem related to this one, but it is not the same.

Let's suppose I take 1GiB of data, encrypt the data with a (secure) block cipher and apply the Vigenère key, being the key much smaller than the ciphertext data (let's say, 512KiB), repeating the key hundreds/thousands of times over the plaintext.

In this case, will the adversary be able to recover the key and decrypt all the ciphertext?

alpominth
  • 393
  • 2
  • 10
  • 1
    The Vigenere cipher was shown to be insecure, e.g., it cannot be against "Finding Repeated Sequences" attack. – ming alex Mar 18 '24 at 06:17
  • 1
    You use double encryption where the first one is assumed to be enough and the ciphertext is indistinguishable from a random string. The Kasiski's test will fail and there is no way to determine the Vigenere key without the double decryption.... What is the origin of this question? What is the usage of this? – kelalaka Mar 18 '24 at 17:24
  • @kelalaka Thanks a lot for the answer: "The Kasiski's test will fail and there is no way to determine the Vigenere key without the double decryption..." =) I've studying about Kasiski's test. "What is the origin of this question? What is the usage of this?" Two years from now I will have to make a backup of 20TB of data and I want to encrypt it with an encryption that no one can break, never, I would like OTP, but a 20TB key is non-sense, I would like to use a 10MiB Vigénere key, I'm already writing a CLI app for doing that, so I need to know a way of using a OTP-like scheme without huge keys. – alpominth Mar 18 '24 at 17:59
  • AES-256 is secure for quantum and post-question adversaries and it has been withstand attack for more than 20 years. If you are worried use double encryption with ChaCha20? – kelalaka Mar 18 '24 at 18:04
  • I want to encrypt an industrial secret (related to nuclear physics) and all my studies for some years, I want no one to decrypt after my departure of this world. And also, I'm a little paranoid. – alpominth Mar 18 '24 at 18:15
  • @kelalaka You answered my question and I'm studying a lot about Kasiski's tests and other ones related, thanks a lot. I thought Kasiski's test could be done in conjunction with another kind of attack in the underlying block cipher. – alpominth Mar 18 '24 at 18:23

0 Answers0