Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
qx-integrity.h
1#ifndef QX_INTEGRITY_H
2#define QX_INTEGRITY_H
3
4// Shared Lib Support
5#include "qx/core/qx_core_export.h"
6
7// Qt Includes
8#include <QString>
9#include <QCryptographicHash>
10
11namespace Qx
12{
13
14class QX_CORE_EXPORT Integrity
15{
16//-Class Functions---------------------------------------------------------------------------------------------
17public:
18 static QString generateChecksum(QByteArray& data, QCryptographicHash::Algorithm hashAlgorithm);
19 static quint32 crc32(QByteArrayView data);
20};
21
22}
23
24#endif // QX_INTEGRITY_H
The Integrity class is a collection of static functions pertaining to data completeness.
Definition qx-integrity.h:15
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-processwaiter.cpp:5