When encrypting public key systems operate in a manner analo
Solution
a)ecb mode is a bad idea for encrypting with a block cipher because it has a disadvantage The main problem with this tmode is that any of the given resident properties of the plaintext might well show up in the ciphertext.This means it adds to complexity. Moreover, by analyzing the patterns we may be able to deduce properties that we otherwise thought were hidden.
On the other hand cbc mode is better because with this we can manage a partial decryption and easily fill in the blanks, for example if extracting data from an encrypted hard disk. Moreover with this mode if we are missing a few blocks in the sequence then the encryption becomes impossible.
2)It is not necessary to perform any type of chaining with publick key encryption because publick key encryption has 2 keys one private and one publick key and these keys are enough to perform chaining rather than any modes.
3)No the reasoning cannot be applied to block ciphers because it can be applied to every character rather than the entire block.The bigger the block the complicated it becomes.IT takes plave byte by byte not block by block.This is the exact reason for this and moreoever 2 keys may not be enough to secure chaining of the blocks.
