15.02.2013 Views

Security Articles from Wikipedia

Security Articles from Wikipedia

Security Articles from Wikipedia

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Block cipher modes of operation 15<br />

Electronic codebook (ECB)<br />

The simplest of the encryption modes is the electronic codebook (ECB) mode. The message is divided into blocks<br />

and each block is encrypted separately.<br />

The disadvantage of this method is that identical plaintext blocks are encrypted into identical ciphertext blocks; thus,<br />

it does not hide data patterns well. In some senses, it doesn't provide serious message confidentiality, and it is not<br />

recommended for use in cryptographic protocols at all. A striking example of the degree to which ECB can leave<br />

plaintext data patterns in the ciphertext is shown below; a pixel-map version of the image on the left was encrypted<br />

with ECB mode to create the center image, versus a non-ECB mode for the right image.<br />

Original Encrypted using ECB mode Modes other than ECB result in pseudo-randomness<br />

The image on the right is how the image might appear encrypted with CBC, CTR or any of the other more secure<br />

modes—indistinguishable <strong>from</strong> random noise. Note that the random appearance of the image on the right does not

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!