Hey, first time poster, and I have never even programmed with C so go easy on me, you'll see what I'm after in a sec.
I need someone to look at this c code and explain what is going on in plain english. I would like to maybe convert the C code into something identical that could be used in visual basic (the programming level im currently at -_-).
The code is:
I know the code is supposed to take a string of text known as 'challenge' and process it into a new number. And I know for a fact that if you made 'challenge' the string ABCDEFGHIL, the code would output 884373937. I know this because I got the code from here: http://aluigi.altervista.org/papers/gs_chresp_num.hCode:int gs_chresp_num(char *challenge) { int num = 0; while(*challenge) { num = *challenge - (num * 0x63306CE7); challenge++; } return(num); }
What I am looking for is some Visual Basic code that will do exactly what this c code does. Or maybe just an explanation in plain english of what is going on in the C code, so I could write my own VB code to duplicate it.
Thank you very much for the help!