I'm writing a C function to calculate the XOR of all members in an array of bytes. Each member should be a 512-byte block.
Here is what i'm figuring how to write this function.
the parameter includes the input array of 512-byte blocks
the return result should be an string (char* or char[512])
i've started the code as below:
Code:
char* calXOR(char* arr[512])
Leave a comment: