Botan
1.10.9
|
#include <pbkdf1.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_PBKDF1 (HashFunction *hash_in) | |
PKCS5_PBKDF1 (const PKCS5_PBKDF1 &other) | |
~PKCS5_PBKDF1 () | |
PKCS #5 v1 PBKDF, aka PBKDF1 Can only generate a key up to the size of the hash output. Unless needed for backwards compatability, use PKCS5_PBKDF2
|
inline |
|
inline |
|
inline |
|
inlinevirtualinherited |
|
inlinevirtual |
Implements Botan::PBKDF.
Definition at line 44 of file pbkdf1.h.
|
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 16 of file pbkdf1.cpp.
References Botan::Buffered_Computation::final(), Botan::Buffered_Computation::output_length(), Botan::MemoryRegion< T >::size(), and Botan::Buffered_Computation::update().
|
inlinevirtual |
Implements Botan::Algorithm.
Definition at line 39 of file pbkdf1.h.