227k views
3 votes
Why do some block cipher modes of operation only use encryption while others use both encryption and decryption

User Gregoire
by
5.0k points

1 Answer

11 votes

Answer:

it is used to generate something to XOR with the plaintext.

Step-by-step explanation:

Some mode of operation only use an encryption function because it is used to generate something to XOR with the plaintext. There is no point decrypt the generated bytes. To decrypt the ciphertext, you just need the same stream of bytes.

User Adam Martin
by
5.5k points