12,542 views
16 votes
16 votes
Why do some block cipher modes of operation only use encryption while others use both encryption and decryption

User Ori Drori
by
2.9k points

1 Answer

22 votes
22 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 Matt Wielbut
by
2.9k points