Hi - it's me again. I have the following code but don't exactly know what it means or how to make the opposite code. The code I currently have is
#define rotateleft(x,n) ((x<<n) | (x>>(32-n))) #define rotateright(x,n) ((x>>n) | (x<<(32-n)))
Then can be used like the following
a = rotateleft(123,456) b = rotateright(123,456)
But as for the question, I have the values a and b stored. But now I need to reverse the formula so I get parameter 1 back (123). So say in the above code I have value a, I put it through a function then it should be 123 just like b. So how exactly do I do that because none of this makes any sense. Please help... Thanks.