From QByteArray docs:
Maybe this is sufficient for you?quint16 qChecksum ( const char * data, uint len )
Returns the CRC-16 checksum of the first len bytes of data.
The checksum is independent of the byte order (endianness).
There is also some crc32 implementation in Qt's 3rdparty sources src/3rdparty/zlib/crc32.*
Bookmarks