Ok, i have an encryption algorithm, and am working on the decryption algorithm. I need to reverse some stuff, and I'm having trouble trying to invert this line:
b = i % strlen(in) - 1;
How can I invert b so that say b = 0, i change it so b = strlen(in) - 1, or if b = 1, change it to b = strlen(in) - 2
Any help would be great, thanks