Question
Use C++ or Python to Encrypt using Feistel cipher (one round only) with a key of the size of 5 which is [1,1,0,1,1] Use message:
Use C++ or Python to Encrypt using Feistel cipher (one round only) with a key of the size of 5 which is [1,1,0,1,1]
Use message: The password is 3074 in reverse minus 25
Write a program that uses brute force attack on the encryption to get to the plaintext.
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started