gehe zur Dokumentation dieser Datei
10 #include <QCryptographicHash>
18 QCryptographicHash::Algorithm mHashAlgorithm;
20 [[nodiscard]] QByteArray deriveKey(
const QByteArray& pK,
const QByteArray& pNonce, quint32 pC)
const;
41 QByteArray
enc(
const QByteArray& pSecret);
48 QByteArray
mac(
const QByteArray& pSecret);
55 QByteArray
pi(
const QByteArray& pSecret);
Definition: KeyDerivationFunction.h:16
~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
KeyDerivationFunction(const QByteArray &pPaceAlgorithm)
Creates a new instance with derivation function algorithm determined by parameter.
Definition: KeyDerivationFunction.cpp:18
QByteArray pi(const QByteArray &pSecret)
Derive the password key.
Definition: KeyDerivationFunction.cpp:72
bool isInitialized() const
Returns true, if initialization succeeded, i.e.
Definition: KeyDerivationFunction.cpp:54
QByteArray mac(const QByteArray &pSecret)
Derive the MAC key.
Definition: KeyDerivationFunction.cpp:66