Question: Write a program in C++ or Python that uses brute force attack on the encryption, using Feistel cipher (one round only) with a key of

Write a program in C++ or Python that uses brute force attack on the encryption, using Feistel cipher (one round only) with a key of the size of 5 which is [1,1,0,1,1]to get to the plaintext.

Use message: The password is 3074 in reverse minus 25

This means that your encryption program will use the given key, but your decryption program will use all permutations of the size 5 key (5! = 120 different possibilities). I NEED both the encryption as well as the decryption program. The decryption program should permute all values in the key.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!