gehe zur Dokumentation dieser Datei
10 #include <QCryptographicHash>
19 QCryptographicHash::Algorithm mHashAlgorithm;
21 QByteArray deriveKey(
const QByteArray& pK,
const QByteArray& pNonce, quint32 pC);
42 QByteArray
enc(
const QByteArray& pSecret);
49 QByteArray
mac(
const QByteArray& pSecret);
56 QByteArray
pi(
const QString& pSecret);
bool isInitialized()
Returns true, if initialization succeeded, i.e.
Definition: KeyDerivationFunction.cpp:54
Definition: KeyDerivationFunction.h:17
~KeyDerivationFunction()=default
QByteArray enc(const QByteArray &pSecret)
Derive the encryption key.
Definition: KeyDerivationFunction.cpp:60
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
QByteArray pi(const QString &pSecret)
Derive the password key.
Definition: KeyDerivationFunction.cpp:72
KeyDerivationFunction(const QByteArray &pPaceAlgorithm)
Creates a new instance with derivation function algorithm determined by parameter.
Definition: KeyDerivationFunction.cpp:18
QByteArray mac(const QByteArray &pSecret)
Derive the MAC key.
Definition: KeyDerivationFunction.cpp:66