|
| static QByteArray | fileMd5 (const QString &filename) |
| | Compute the MD5 hash of a file's contents.
|
| |
| static QString | fileMd5String (const QString &filename) |
| | Compute the MD5 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 uint64_t | md5UInt64 (const QByteArray &of) |
| | Compute the MD5 hash of a byte array as a 64-bit unsigned integer.
|
| |
| static QString | md5String (const QString &of) |
| | Compute the MD5 hash of a string as a hex string.
|
| |
| 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 | md5 (const QStringList &of) |
| | Compute the MD5 hash of a string list as raw bytes.
|
| |
| 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 | sha256 (const QByteArray &of) |
| | Compute the SHA-256 hash of a byte array.
|
| |
| static QString | sha256String (const QString &of) |
| | Compute the SHA-256 hash of a string as a hex string.
|
| |
| 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 QByteArray | sha256 (const QStringList &of) |
| | Compute the SHA-256 hash of a string list as raw bytes.
|
| |
CryptoUtil.
Some static helper methods for MD5 hashes (to and from strings).
It is basically a front-end for QCryptographicHash functions.
Stephen Punak, February 17 2021
Static helper methods for computing MD5 hashes as byte arrays or hex strings.
Definition at line 21 of file cryptoutil.h.