All submissions for this problem are available.
Following problem is a part of the Symmetric Cryptosystem called DES (S-boxes are modified slightly). You are given a 32-bit stream in hex, 0x0020 0100. Give the final output in hex, when the stream is passed through, first the following Expansion D-box,
Fig.1 - Expansion D-box
and then through the following array of S-boxes.
Fig.2 - S-box 1
Fig.3 - S-box 2
Fig.4 - S-box 3
Fig.5 - S-box 4
Fig6 - S-box 5
Fig.7 - S-box 6
Fig.8 - S-box 7
Fig.9 - S-box 8
The whole problem can be visualized from the following figure, note that the output should be in hex format.
Fig.10 - Problem (Hex Confusion)
Submit the final sequence of bits in hex format.
- Example: For answer to be 0x0C2A E108, the output should be 0C2AE108.
- Output should be in hex format.
Info about Submission
You just have to print the final answer. Rest you have to put the source code/ abstract of your solution inside the comments for plagiarism checking.
Sample Submission (c++)
using namespace std;
cout<<"SEQUENCE OF BITS";
/* Put your source code here inside comments for plagiarism checking */
|Time Limit:||1 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, CPP14, JAVA, PYTH, PYTH 3.6, CS2, PAS fpc, PAS gpc, RUBY, PHP, NODEJS, SCALA, PERL, JS, PERL6, PYP3|
Fetching successful submissions
If you are still having problems, see a sample solution here.