Tag Info

Hot answers tagged

2

As Maarten Bodewes already wrote in a comment, if you ignore the computational overhead of XOR, then there is essentially no difference in CBC and ECB for a bruteforce attack. However, the question is actually mixing oranges and apples (and it is not obvious), because the security weakness of modes of operation has nothing to do with the underlying ...


2

The alphabet size you need to consider, when calculating the unicity distance, is the size of the ciphertext alphabet. This follows from the definition of unicity distance, as the amount of ciphertext needed to rule out all but one of the keys.* For a classical cipher that only encrypts letters to letters, and ignores spaces and case distinctions, the ...


1

This technique is known as Ciphertext stealing. Ciphertext stealing avoids padding, but only works if the total message size is bigger than one block. Ciphertext stealing secure in principle, but as @mikeazo already pointed out using ECB and using 64 bit block ciphers is generally a bad idea. There are fancier length preserving encryption schemes. FFX mode ...


1

Yes there is a significant difference concerning brute-force. ECB suffers from multi target attacks whenever you encrypt the same message block. This is always possible in a chosen-plaintext attack and often possible in practice with a known-plaintext attack. With CBC the IV means that the plaintexts passed to the blockcipher are almost certainly unique ...



Only top voted, non community-wiki answers of a minimum length are eligible