How to use a block cipher?
Encrypting a Large Message
- Block Ciphers encrypt fixed size blocks
- e.g. DES encrypts 64bit blocks
- We need some way to encrypt a message of arbitary length
- e.g. a message of 1000 bytes
- NIST defines several ways to do it
- called modes of operation
Encrypting a Large Message
- Electronic Code Book (ECB)
- Cipher Block Chaining (CBC)
- Output Feedback Mode (OFB)
- Cipher Feedback Mode (CFB)
- Counter Mode (CTR)