8 #ifndef BOTAN_CRYPTOBOX_H__
9 #define BOTAN_CRYPTOBOX_H__
12 #include <botan/rng.h>
13 #include <botan/symkey.h>
29 BOTAN_DLL std::string
encrypt(
const uint8_t input[],
size_t input_len,
30 const std::string& passphrase,
31 RandomNumberGenerator& rng);
40 BOTAN_DLL std::string
decrypt(
const uint8_t input[],
size_t input_len,
41 const std::string& passphrase);
48 BOTAN_DLL std::string
decrypt(
const std::string& input,
49 const std::string& passphrase);
std::string encrypt(const uint8_t input[], size_t input_len, const std::string &passphrase, RandomNumberGenerator &rng)
std::string decrypt(const uint8_t input[], size_t input_len, const std::string &passphrase)