Ab Crypt 4 Multiple DES
Ab Crypt 4 Multiple DES
Encryption
and Triple
DES
Multiple Encryption
C = E(K2,E(K1,P)), P = D((K1,D(K2,C))
C = E(K2,E(K1,P)), P = D((K1,D(K2,C))
K2 K1
X
P
C D D P = D((K1,D(K2,C))
Like
CFB, message is treated as a stream of bits
Output is then feed back (hence name)
OFB
Nonce is a
data block
which is
unique to
each
execution
of
encryption
Eg.
Counter,
message
number,
time,
random
number
OFB
O-1 = nonce
Oi = E(K, Oi-1)
Ci = Pi XOR Oi
Uses: stream encryption on noisy channels
OFB
C1 = P1 XOR E(K, N)
Similarto OFB
Encrypts counter value rather than any
feedback value
Must have a different key & counter value
for every plaintext block
Chaining is not used
uses: high-speed network encryptions
CTR
CTR
CTR
Advantages and Limitations of CTR