Hi
I need to calculate the crc32 value for an unsigned array in C++.It goes like this..
unsigned char Myarray[16];
//Myarray contains hex value ... b525b4d0ad533acee2d6a214453a279e
Need to calculate the crc32 value for this Myarray[].
------------------------------------------------------------------------------------------
Have done something like this in java
bytes = md.digest( request.getBytes() );
// bytesToHex(bytes) -------> b525b4d0ad533acee2d6a214453a279e
CRC32 crc=new CRC32();
crc.reset();
crc.update(bytes);
checksum = crc.getValue(); // gives checksum as ---> 2422938937
-------------------------------------------------------------------------------------------
Need to get same value in C++ for the above mentioned Myarray[].
Thanks in advance. :)
tlsk