Understanding Cryptography by Christof Paar and Jan Pelzl - Chapter 3 Solutions - Ex3.2

- 1 min

Exercise 3.2

We want to verify that \(IP(·)\) and \(IP^{−1}(·)\) are truly inverse operations. We consider a vector \(x = (x_1,x_2,...,x_{64})\) of 64 bit.

Show that \(IP^{−1}(IP(x)) = x\) for the first five bits of \(x\), i.e. for \(x_i, i = 1,2,3,4,5\).

Solution

I haven’t yet verified this solution independently. If you spot any mistakes, please leave a comment in the Disqus box at the bottom of the page.

The easiest way to demonstrate this is to create a table that shows which location each bit gets mapped to after each operation:


Thomas Busby

Thomas Busby

I write about computing stuff

comments powered by Disqus
rss facebook twitter github youtube mail spotify instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora