Question: : DES Cipher Take a gray - level image of 8 bit depth in pgm format ( or some other simple image format that directly
: DES Cipher
Take a graylevel image of bit depth in pgm format or some other simple image format
that directly represents the gray values without complicated encoding Take DES and
encrypt the image using ECB mode or CBC mode
aBrutal force attack points Try a brutal force attack on the ciphertext. Plot the
relationship between key length and time consumed for the attack. Since keys for DES
are of bit, you can simulate a key of nbit n by fixing the remaining n bits.
You may want to use diff and time shell command in UnixLinux No need to plot for all
the key lengths, but the curve should be able to show the trend.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
