Документация
ОС Аврора 5.0.1
Класс PBKDF2
Публичные функции
PBKDF2 (const QString &algorithm=QStringLiteral("sha1"), const QString &provider=QString()) |
Публичные функции, унаследованные от 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) |
KeyDerivationFunction & | operator= (const KeyDerivationFunction &from) |
Публичные функции, унаследованные от QCA::Algorithm
Algorithm (const Algorithm &from) | |
void | change (const QString &type, const QString &provider) |
void | change (Provider::Context *c) |
Provider::Context * | context () |
const Provider::Context * | context () const |
Algorithm & | operator= (const Algorithm &from) |
Provider * | provider () const |
Provider::Context * | takeContext () |
QString | type () const |
Дополнительные унаследованные члены
Статические публичные функции, унаследованные от QCA::KeyDerivationFunction
static QString | withAlgorithm (const QString &kdfType, const QString &algType) |
Защищённые функции, унаследованные от QCA::KeyDerivationFunction
KeyDerivationFunction (const QString &type, const QString &provider) |
Защищённые функции, унаследованные от QCA::Algorithm
Algorithm () |
Algorithm (const QString &type, const QString &provider) |
Подробное описание
Функция получения ключа на основе пароля, версия 2.
Этот класс реализует функцию вывода ключа на основе пароля версии 2, как указано в RFC2898, а также в PKCS#5.
Описание конструкторов и деструктора
PBKDF2()
QCA::PBKDF2::PBKDF2 (const QString & algorithm = QStringLiteral("sha1"), const QString & provider = QString() ) | inline explicit |
Стандартный конструктор.
Параметры
algorithm | Название используемого хеширующего алгоритма |
provider | Имя используемого криптопровайдера, если он доступен |