Symmetric Block Ciphers Flashcards
Cite one of the most significant recent advances in cryptanalysis?
Differential Cryptanalysis.
In which kind of cipher is different Cryptanalysis used for?
Block ciphers
It is possible to attack DES using differential cryptanalysis?
DES is reasonably resistant to it.
What does cryptanalysis does?
It compares two related pairs of encryptions
What does ECB stands for?
ECB stands for Electronic Code Book Mode
How does ECB works?
The message is broken into independent blocks which are encrypted. Each block is a value which is substituted (like a codebook). Every block pi of length b is encrypted independently: ci=E(K,pi)
What happened if there is a bit error in ECB?
A bit error in one ciphertext block ci results in a completely wrongly recovered plaintext block pi’. Other blocks are not affected.
What happens in ECB if there is loss of synchronization?
Loss of synchronization does not have any effect if integer multiples of the block size b are lost. If any other number of bits are lost, explicit re-synchronization is needed.
Which is the drawback of ECB?
Identical plaintext blocks are encrypted to identical ciphertext (in a image, it is pretty simple to check what does it looks like if there are many blocks that looks alike)
What does CBC stands for?
CBC stands for Cipher block chaining mode
How does CBC work?
The message is also broken into blocks, but the plain text is XORed with the preceding ciphertext block ci-1. To compute c1, both parties agree on an initial value for c0.
To encrypt: ci = E(K,ci-1 XOR pi)
To decrypt: pi’ = ci-1 XOR D(K,ci)
What is the advantage of CBC over ECB?
identical plain text blocks are encrypted to non-identical cipher text.
How is the error propagation on CBC mode?
A distorted cipher text block results in two distorted plain text blocks, as pi’ is computed using ci-1 and ci
How does CBC is tolerant regarding to synchronization?
If the number of lost bits is a multiple integer of b, one additional block pi+1 is distorted before sync is re-established. If any other number of bits are lost, explicit re-sync is needed
Which are the advantages and disadvantages of CBC?
A cipher block depends on all blocks before it
Any change to a block affects all following cipher text blocks.
It needs an Initialization Vector (IV), known to sender and receiver