Encryption Modes

Encryption Modes

innocentzero

2026-06-16

#cryptography | Status: Complete

A brief on various encryption modes, usually for AES, but any block cipher really.

Encryption Modes

Modes of encryption

ECB mode

CBC mode

Cipher Feedback (CFB)

Output Feedback (OFB)

Counter (CTR)

Metrics for modes

ECB

Advantages:

Disadvantages:

CBC

Advantages:

Disadvantages:

CFB

Advantages:

Disadvantages:

OFB

Advantages:

Disadvantages:

CTR

Advantages:

Disadvantages: