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
16
QT_BEGIN_NAMESPACE
17
18
namespace
QPasswordDigestor
{
19
Q_NETWORK_EXPORT QByteArray
deriveKeyPbkdf1
(
QCryptographicHash
::
Algorithm
algorithm
,
20
const
QByteArray
&
password
,
const
QByteArray
&
salt
,
21
int
iterations
,
quint64
dkLen
);
22
Q_NETWORK_EXPORT QByteArray
deriveKeyPbkdf2
(
QCryptographicHash
::
Algorithm
algorithm
,
23
const
QByteArray
&
password
,
const
QByteArray
&
salt
,
24
int
iterations
,
quint64
dkLen
);
25
}
// namespace QPasswordDigestor
26
27
QT_END_NAMESPACE
28
29
#
endif
// QPASSWORDDIGESTOR_H
QPasswordDigestor
\inmodule QtNetwork
Definition
qpassworddigestor.cpp:25
qtbase
src
network
ssl
qpassworddigestor.h
Generated on
for Qt by
1.14.0