Swapping endiannes in C
I have this string c1eb044f0708015b267913fc4dff5aabe3dd4a97f10f7ba935cd360000000000 How does one swap it so it becomes 000000000036cd35a97b0ff1974adde3ab5aff4dfc1379265b0108074f04ebc1 Those two are basically examples, but that is what i need to do, but not know how as i have very little knowledge of C. The above two strings are actually unsigned char[] in the C program P.S Don't think i didn't go through google. I did, but i found very little of what i needed so every attempt to do that failed. Something like this; probably not perfect but gives you the idea. You'll want appropriate error