Botan  1.11.15
Namespaces | Functions
src/lib/misc/pbes2/pbes2.cpp File Reference
#include <botan/pbes2.h>
#include <botan/internal/algo_registry.h>
#include <botan/cipher_mode.h>
#include <botan/pbkdf2.h>
#include <botan/der_enc.h>
#include <botan/ber_dec.h>
#include <botan/parsing.h>
#include <botan/alg_id.h>
#include <botan/oids.h>
#include <botan/rng.h>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

secure_vector< byte > Botan::pbes2_decrypt (const secure_vector< byte > &key_bits, const std::string &passphrase, const std::vector< byte > &params)
std::pair< AlgorithmIdentifier,
std::vector< byte > > 
Botan::pbes2_encrypt (const secure_vector< byte > &key_bits, const std::string &passphrase, std::chrono::milliseconds msec, const std::string &cipher, const std::string &digest, RandomNumberGenerator &rng)