16#include <Kanoop/kanoopcommon.h>
29 static QByteArray
fileMd5(
const QString& filename);
43 static QByteArray
md5(
const QByteArray& of);
78 static QByteArray
md5(
const QStringList& of);
99 static QByteArray
sha256(
const QByteArray& of);
127 static QByteArray
sha256(
const QStringList& of);
131 static QString toHashString(
const QByteArray& buffer);
static QString md5String(const QByteArray &of)
Compute the MD5 hash of a byte array as a hex string.
static QString md5String(const QStringList &of)
Compute the MD5 hash of a joined string list as a hex string.
static QByteArray sha256(const QByteArray &of)
Compute the SHA-256 hash of a byte array.
static QString sha256String(const QByteArray &of)
Compute the SHA-256 hash of a byte array as a hex string.
static QString sha256String(const QStringList &of)
Compute the SHA-256 hash of a joined string list as a hex string.
static QString fileMd5String(const QString &filename)
Compute the MD5 hash of a file's contents as a hex string.
static QByteArray fileSha256(const QString &filename)
Compute the SHA-256 hash of a file's contents.
static QString fileSha256String(const QString &filename)
Compute the SHA-256 hash of a file's contents as a hex string.
static QByteArray md5(const QByteArray &of)
Compute the MD5 hash of a byte array.
static QByteArray fileMd5(const QString &filename)
Compute the MD5 hash of a file's contents.
static QString md5String(const QString &of)
Compute the MD5 hash of a string as a hex string.
static QString sha256String(const QString &of)
Compute the SHA-256 hash of a string as a hex string.
static uint64_t md5UInt64(const QByteArray &of)
Compute the MD5 hash of a byte array as a 64-bit unsigned integer.
static QByteArray md5(const QStringList &of)
Compute the MD5 hash of a string list as raw bytes.
static QByteArray sha256(const QStringList &of)
Compute the SHA-256 hash of a string list as raw bytes.