Introduction to Cryptography Flashcards
Block Ciphers
Encrypts the data in blocks.
64-bit blocks are quite common.
AES uses a 128-bit block.
Stream Ciphers
Encrypts the data as a stream, one bit at a time.
Symmetric Block Cipher Algorithms
The Feistel Network DES, 3DES AES Blowfish Serpent Twofish Skipjack IDEA CAST TEA SHARK
Basic Facts of the Feistel Function
Larger Block sizes increase security
Larger Key sizes increase security
If the round function is secure, then more rounds increase security
Cipher
The algorithm needed to encrypt and decrypt a message
Key
The random bits used in encrypting a message
Algorithm
The mathematical process used to alter a message and read it unintelligible by any but the intended party
The Feistel Function
This function starts by splitting the block of plain text data (often 64 bits) into two parts ( traditionally termed L0 and R0)
The round function F is applied to 1 of the halves. The term ‘round function’ simply means a function performed with each iteration, or round, of the Feistel cipher.
The output of each round function F is then xor’d with the other half.
Data Encryption Standard (DES)
One of the oldest modern symmetric ciphers is DES.
The basic concept of DES is as follows:
- Data is divided into 64-bit blocks.
- The data is then manipulated by 16 separate steps of encryption involving substitutions, bit-shifting, and logical operations using a 56-bit key.
- Data is then further scrambled using a swapping algorithm.
- Data is finally transposed one last time.