13 March 2011

crc32

NXP do a crc32 on 3D00000000120000010203040506070809101112131415161718 and get 0x9C1AF759

most crc32 give 0xa608e563 ..
eg :
fileformat.info/tool/hash All the hash you want...
networkdls
java.util.zip.CRC32;

I wonder what CRC32 they are using??

1 comment:

  1. I have a "worked Example"
    showing 3D00000000120000010203040506070809101112131415161718 giving a CRC32 of 9C1AF759


    If I use Java
    Checksum checksum = new CRC32();
    checksum.update(mraw,0,mraw.length);
    long chv = checksum.getValue();
    I get A608E563


    http://www.networkdls.com/Software.Asp?Review=22

    "A C++ Class that encapsulates the official CRC32 algorithm used in PKZip, WinZip and Ethernet".

    gives 0xa608e563 - this seems popular, but not with ?X?

    original A608E563 inverse 59F71A9C [ ~n & 0x00000000FFFFFFFF ]
    so inverse and then reverse the bytes

    Question answered!

    AS IN
    http://forums.oracle.com/forums/thread.jspa?threadID=2190257&stqc=true

    ReplyDelete