8 #ifndef BOTAN_CRYPTOBOX_H__
9 #define BOTAN_CRYPTOBOX_H__
12 #include <botan/rng.h>
28 BOTAN_DLL std::string
encrypt(
const byte input[],
size_t input_len,
29 const std::string& passphrase,
30 RandomNumberGenerator&
rng);
38 BOTAN_DLL std::string
decrypt(
const byte input[],
size_t input_len,
39 const std::string& passphrase);
46 BOTAN_DLL std::string
decrypt(
const std::string& input,
47 const std::string& passphrase);
std::string decrypt(const byte input[], size_t input_len, const std::string &passphrase)
RandomNumberGenerator * rng
std::string encrypt(const byte input[], size_t input_len, const std::string &passphrase, RandomNumberGenerator &rng)