Question
Your program should contain two parts: 1. depend on DES then Implement S1-box using C or C++. In your program, the input can be a
Your program should contain two parts: 1. depend on DES then Implement S1-box using C or C++. In your program, the input can be a bit string of length 6 or an integer between 0 and 63 (each of them can be converted into a bit string of length 6). The output should be an integer between 0 and 15 (which can be converted into a 4-bit string).
2. Write a procedure that takes as inputs a 6-bit string X and a 4-bit string Y , and outputs all 6-bit strings Z such that S1(Z) S1(Z X) = Y.
Notes: In C/C++, the operation is . Your program should be compilable with gcc or g++. Source code should be very well commented. Submit your C/C++ program and a readme.txt (instructions on how to compile and run your program) to the e-learning. date.
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