Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qpassworddigestor.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QPASSWORDDIGESTOR_H
6#define QPASSWORDDIGESTOR_H
7
8#if 0
9#pragma qt_class(QPasswordDigestor)
10#endif
11
12#include <QtNetwork/qtnetworkglobal.h>
13#include <QtCore/QByteArray>
14#include <QtCore/QCryptographicHash>
15
16QT_BEGIN_NAMESPACE
17
18namespace QPasswordDigestor {
19Q_NETWORK_EXPORT QByteArray deriveKeyPbkdf1(QCryptographicHash::Algorithm algorithm,
20 const QByteArray &password, const QByteArray &salt,
22Q_NETWORK_EXPORT QByteArray deriveKeyPbkdf2(QCryptographicHash::Algorithm algorithm,
23 const QByteArray &password, const QByteArray &salt,
25} // namespace QPasswordDigestor
26
27QT_END_NAMESPACE
28
29#endif // QPASSWORDDIGESTOR_H
\inmodule QtNetwork