Qx v0.5.8
Qt Extensions Library
|
The Integrity class is a collection of static functions pertaining to data completeness.
#include <qx/core/qx-integrity.h>
Static Public Member Functions | |
static quint32 | crc32 (QByteArrayView data) |
static QString | generateChecksum (QByteArray &data, QCryptographicHash::Algorithm hashAlgorithm) |
|
static |
Returns the ISO 3309/ITU-T V.42 compliant CRC-32 checksum of data.
0
if data is empty.
|
static |
Computes the checksum of data using hashAlgorithm and returns it as a hexadecimal string.