|
I think if you rewrote and cleaned up that code, it would be easier. It appears not as a much of a cryptographic algorithm as some simple string manipulation code. It can be a single function with a loop having a single condition inside of it. After cleaning it up, figuring out how to invert the function should be somewhat straight forward.
|