diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-02-23 21:13:25 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-03-01 17:20:41 +0100 |
| commit | 6990f23813bc14be791838949dd93b5b33b40b77 (patch) | |
| tree | 4f2dc6d400be2f091f79f10208acbc834e02adeb /src/corelib/tools/qmessageauthenticationcode.h | |
| parent | 7af39be05295c5743d04ef83468a0d250141b145 (diff) | |
Long live QMessageAuthenticationCode::resultView()!
Use it in a few places.
[ChangeLog][QtCore][QMessageAuthenticationCode] Added
QCryptographicHash-style resultView().
Change-Id: I745d71f86f9c19c9a9aabb2021c6617775dab1cf
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/corelib/tools/qmessageauthenticationcode.h')
| -rw-r--r-- | src/corelib/tools/qmessageauthenticationcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qmessageauthenticationcode.h b/src/corelib/tools/qmessageauthenticationcode.h index 3951a6e5fab..a7fb13d201a 100644 --- a/src/corelib/tools/qmessageauthenticationcode.h +++ b/src/corelib/tools/qmessageauthenticationcode.h @@ -28,6 +28,7 @@ public: void addData(const QByteArray &data); bool addData(QIODevice *device); + QByteArrayView resultView() const noexcept; QByteArray result() const; static QByteArray hash(const QByteArray &message, const QByteArray &key, |
