Block Ciphers




CS166

Chris Pollett

Sep. 10, 2012

Outline

Introduction

Data Encryption Standard

About DES

One Round of DES

One Round of DES

DES S-box

DES P-box

DES Subkey Bits

DES Subkey

More on determining `K_i`

DES Last Word (Almost)

Security of DES

Quiz

Which of the following is true?

  1. Caesar's cipher is a simple substitution cipher.
  2. The cipher used by Project Venona we discussed, was a codebook cipher.
  3. A5/1, at its heart, makes use of random permutations.

Block Cipher Notation

Triple DES

3DES

Advanced Encryption Standard

AES Overview

AES ByteSub

AES S-box

We'll view it as a table lookup based on the two hex digits of the byte `a_(ij)`.

The bytesub lookup table

AES ShiftRow

AES MixColumn

AES AddRoundKey

AES Decryption

A Few Other Block Ciphers

We now consider a few other block ciphers...

IDEA

Blowfish

RC6

Tiny Encryption Algorithm (TEA)

TEA Encryption

TEA Decryption

TEA Comments