Question: DES Programming Assignment - C + + ( no built - in functions allowed, everything must be hard - coded ) . Provide the full
DES Programming Assignment Cno builtin functions allowed, everything must be hardcoded Provide the full program including Initial permutation, rounds of permutation and substitution, and Final permutation. Example is provided in the pictures.
Let the user choose encryption or decryption.
For encryption, let user input the key in Hexadecimal number, the plain text in Hexadecimal number, output the ciphertext in hexadecimal numbers
For decryption, let user input the key in Hexadecimal number, the ciphertext in hexadecimal numbers output the decrypted message Hexadecimal numberAn Example of DES Encryption
Here is an example of encryption using the DES. Suppose we encrypt the hex
adecimal plaintext
ABCDEF
using the hexadecimal key
The key, in binary, without paritycheck bits, is
Applying IP we obtain and in binary:
The rounds of encryption are then performed, as indicated.
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
