✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Suppose we have a plaintext string to encrypt.
Suppose we have a block cipher with block size and 4-bit keys . Encryption is as follows:
where is binary bitwise addition. (So , where , . For example, . )
We can write the plaintext as , so , .
Encrypt the plaintext using the CBC mode of operation, with key and initialisation vector .