1. A block cipher algorithm in its basic form is almost never used for encrypting long messages. Why? How are block ciphers deployed in practice if you want to encrypt long messages?
A block cipher is hard to use when it comes to encrypting large files. This is because to cipher data, XOR operation is used. Then a one-time pad is generated to encrypt the given message. The message length is required to be less than a single pad. Which is hard to achieve in such cases.
To practically do it, there is a need of certain operations to chain the number of blocks formed. The length of the chain would be the product of the total number of blocks and block size. This length can be used to encrypt files. However, it is important to know that padding has to be used so that privacy is not affected.
Get Answers For Free
Most questions answered within 1 hours.