Qt Cryptographic Architecture
QCA::PBKDF2 Class Reference

#include <QtCrypto>

Collaboration diagram for QCA::PBKDF2:

Public Member Functions

 PBKDF2 (const QString &algorithm=QStringLiteral("sha1"), const QString &provider=QString())
Public Member Functions inherited from QCA::KeyDerivationFunction
 KeyDerivationFunction (const KeyDerivationFunction &from)
SymmetricKey makeKey (const SecureArray &secret, const InitializationVector &salt, unsigned int keyLength, int msecInterval, unsigned int *iterationCount)
SymmetricKey makeKey (const SecureArray &secret, const InitializationVector &salt, unsigned int keyLength, unsigned int iterationCount)
KeyDerivationFunctionoperator= (const KeyDerivationFunction &from)
Public Member Functions inherited from QCA::Algorithm
 Algorithm (const Algorithm &from)
void change (const QString &type, const QString &provider)
void change (Provider::Context *c)
Provider::Contextcontext ()
const Provider::Contextcontext () const
Algorithmoperator= (const Algorithm &from)
Providerprovider () const
Provider::ContexttakeContext ()
QString type () const

Additional Inherited Members

Static Public Member Functions inherited from QCA::KeyDerivationFunction
static QString withAlgorithm (const QString &kdfType, const QString &algType)
Protected Member Functions inherited from QCA::KeyDerivationFunction
 KeyDerivationFunction (const QString &type, const QString &provider)
Protected Member Functions inherited from QCA::Algorithm
 Algorithm ()
 Algorithm (const QString &type, const QString &provider)

Detailed Description

Password based key derivation function version 2.

This class implements Password Based Key Derivation Function version 2, as specified in RFC2898, and also in PKCS#5.

Constructor & Destructor Documentation

◆ PBKDF2()

QCA::PBKDF2::PBKDF2 ( const QString & algorithm = QStringLiteral("sha1"),
const QString & provider = QString() )
inlineexplicit

Standard constructor.

Parameters
algorithmthe name of the hashing algorithm to use
providerthe name of the provider to use, if available

References QCA::KeyDerivationFunction::KeyDerivationFunction(), QCA::Algorithm::provider(), and QCA::KeyDerivationFunction::withAlgorithm().


The documentation for this class was generated from the following file: