#include <QtCrypto>
Inheritance diagram for QCA::KeyDerivationFunction:
Public Member Functions | |
KeyDerivationFunction (const KeyDerivationFunction &from) | |
KeyDerivationFunction & | operator= (const KeyDerivationFunction &from) |
SymmetricKey | makeKey (const SecureArray &secret, const InitializationVector &salt, unsigned int keyLength, unsigned int iterationCount) |
Static Public Member Functions | |
static QString | withAlgorithm (const QString &kdfType, const QString &algType) |
Protected Member Functions | |
KeyDerivationFunction (const QString &type, const QString &provider) |
KeyDerivationFunction is a superclass for the various key derivation function algorithms within QCA. You should not need to use it directly unless you are adding another key derivation capability to QCA - you should be using a sub-class. PBKDF2 using SHA1 is recommended for new applications.
|
Standard copy constructor.
|
|
Special constructor for subclass initialisation.
|
|
Assignment operator. Copies the state (including key) from one KeyDerivationFunction to another |
|
Generate the key from a specified secret and salt value.
|
|
Construct the name of the algorithm. You can use this to build a standard name string. You probably only need this method if you are creating a new subclass. |