Counter (CTR) Mode

It can be considered as a counter-based version of CFB mode without the feedback. In this mode, both the sender and receiver need to access to a reliable counter, which computes a new shared value each time a ciphertext block is exchanged. This shared counter is not necessarily a secret value, but challenge is that… Continue reading Counter (CTR) Mode

Cipher Block Chaining (CBC) Mode

CBC mode of operation provides message dependence for generating ciphertext and makes the system non-deterministic. Operation The operation of CBC mode is depicted in the following illustration. The steps are as follows − Analysis of CBC Mode In CBC mode, the current plaintext block is added to the previous ciphertext block, and then the result… Continue reading Cipher Block Chaining (CBC) Mode