8#ifndef BOTAN_CRYPTOBOX_H_
9#define BOTAN_CRYPTOBOX_H_
12#include <botan/symkey.h>
16class RandomNumberGenerator;
31 const
std::
string& passphrase,
32 RandomNumberGenerator& rng);
44 const
std::
string& passphrase);
54 const
std::
string& passphrase);
63std::
string decrypt(const uint8_t input[],
size_t input_len,
64 const
std::
string& passphrase);
73 const
std::
string& passphrase);
#define BOTAN_PUBLIC_API(maj, min)
std::string decrypt(const uint8_t input[], size_t input_len, const std::string &passphrase)
std::string encrypt(const uint8_t input[], size_t input_len, const std::string &passphrase, RandomNumberGenerator &rng)
secure_vector< uint8_t > decrypt_bin(const uint8_t input[], size_t input_len, const std::string &passphrase)
std::vector< T, secure_allocator< T > > secure_vector