|
Botan 1.10.17
|
#include <pbkdf2.h>
Public Member Functions | |
| void | clear () |
| PBKDF * | clone () const |
| OctetString | derive_key (size_t output_len, const std::string &passphrase, const byte salt[], size_t salt_len, size_t iterations) const |
| std::string | name () const |
| PKCS5_PBKDF2 (MessageAuthenticationCode *mac_fn) | |
| ~PKCS5_PBKDF2 () | |
|
inline |
Create a PKCS #5 instance using the specified message auth code
| mac_fn | the MAC to use |
Definition at line 41 of file pbkdf2.h.
Referenced by clone(), and Botan::Core_Engine::find_pbkdf().
|
inline |
|
inlinevirtualinherited |
|
inlinevirtual |
Implements Botan::PBKDF.
Definition at line 27 of file pbkdf2.h.
References PKCS5_PBKDF2().
|
virtual |
Derive a key from a passphrase
| output_len | the desired length of the key to produce |
| passphrase | the password to derive the key from |
| salt | a randomly chosen salt |
| salt_len | length of salt in bytes |
| iterations | the number of iterations to use (use 10K or more) |
Implements Botan::PBKDF.
Definition at line 17 of file pbkdf2.cpp.
References name(), Botan::to_string(), and Botan::xor_buf().
Referenced by Botan::check_passhash9(), Botan::CryptoBox::decrypt(), Botan::CryptoBox::encrypt(), and Botan::generate_passhash9().
|
inlinevirtual |
Implements Botan::Algorithm.
Definition at line 22 of file pbkdf2.h.
Referenced by derive_key().