Professional Documents
Culture Documents
Stream Cipher:
Encryption and Decryption are done one symbol (such as a bit
or a byte) at a time.
Block Cipher:
A group of PT symbols of size m (m>1) are encrypted together
creating a group of CT of the same size
A single key is used to encrypt the whole block even if the key is
made of multiple values
8/9/2011
S-Box:
An S-box (substitution box) can be thought of as a miniature
substitution cipher
Modern block ciphers normally use keyless S-Boxes
8/9/2011
XOR:
XOR is reversible:- when used twice, it produces the original value
Circular Shift:
Shifting can be to the left or to the right
Circular left shift operation shifts each bit in an n-bit word k positions to
the left
Circular right shift operation shifts each bit in an n-bit word k positions
to the right
8/9/2011
Swap:
Special case of circular shift operation where k=n/2
Swap operation is valid only if n is an even number
8/9/2011
Product Cipher
Shannon introduced the concept of a product cipher. A product
cipher is a complex cipher combining substitution, permutation, and
other components discussed in previous sections
Diffusion:
The idea of diffusion is to hide the relationship between the ciphertext
and the plaintext
If a single symbol in the PT is changed, several or all symbols in the CT
will also be changed
Confusion:
The idea of confusion is to hide the relationship between the ciphertext
and the key
If a single bit in the key is changed, most or all bits in CT will also be
changed
8/9/2011
8/9/2011
Feistel cipher:
Uses Split & Combine, Swap,
XOR, Circular Shift operation
8/9/2011
8/9/2011