Electronic Codebook Mode

Why
The electronic codebook mode is important because it shows us a simple mode of operation for a cipher

What
The electronic codebook mode is a mode of operation that simply splits up the original message $$P$$ into messages that are then individually passed into the underlying block cipher for processing. Then the results are combined together in the same order that they were created.

Vulnerabilities

 * The ECB is vulnerable if the underlying data has known patterns. These could be images, or salaries, in which attackers would know the range. They could use this information to guess the original plaintext

Encryption and Decryption

 * Encryption: $$C_i = E(p_i), i = 1,2,...,m$$
 * Decryption: $$P_i = D(c_i), i= 1,2,...,m$$