#include <pwdbased.h>
Inheritance diagram for PKCS5_PBKDF2_HMAC< T >:

Definition at line 37 of file pwdbased.h.
Public Member Functions | |
| size_t | MaxDerivedKeyLength () const |
| bool | UsesPurposeByte () const |
| unsigned int | DeriveKey (byte *derived, size_t derivedLen, byte purpose, const byte *password, size_t passwordLen, const byte *salt, size_t saltLen, unsigned int iterations, double timeInSeconds=0) const |
| derive key from password | |
| unsigned int PKCS5_PBKDF2_HMAC< T >::DeriveKey | ( | byte * | derived, | |
| size_t | derivedLen, | |||
| byte | purpose, | |||
| const byte * | password, | |||
| size_t | passwordLen, | |||
| const byte * | salt, | |||
| size_t | saltLen, | |||
| unsigned int | iterations, | |||
| double | timeInSeconds = 0 | |||
| ) | const [virtual] |
derive key from password
If timeInSeconds != 0, will iterate until time elapsed, as measured by ThreadUserTimer Returns actual iteration count, which is equal to iterations if timeInSeconds == 0, and not less than iterations otherwise.
Implements PasswordBasedKeyDerivationFunction.
Definition at line 85 of file pwdbased.h.
References HMAC_Base::DigestSize(), PKCS5_PBKDF2_HMAC< T >::MaxDerivedKeyLength(), and HMAC_Base::Update().
1.5.1-p1