8 #ifndef BOTAN_CRYPTOBOX_H_
9 #define BOTAN_CRYPTOBOX_H_
12 #include <botan/symkey.h>
16 class RandomNumberGenerator;
31 const
std::
string& passphrase,
32 RandomNumberGenerator& rng);
43 decrypt_bin(const uint8_t input[],
size_t input_len,
44 const
std::
string& passphrase);
54 const
std::
string& passphrase);
63 std::
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)
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
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)