8#ifndef BOTAN_CRYPTOBOX_H_
9#define BOTAN_CRYPTOBOX_H_
11#include <botan/symkey.h>
18class RandomNumberGenerator;
34 encrypt(const uint8_t input[],
size_t input_len, std::string_view passphrase, RandomNumberGenerator& rng);
43BOTAN_PUBLIC_API(2, 3) secure_vector<uint8_t> decrypt_bin(const uint8_t input[],
45 std::string_view passphrase);
53BOTAN_PUBLIC_API(2, 3) secure_vector<uint8_t> decrypt_bin(std::string_view input, std::string_view passphrase);
62BOTAN_PUBLIC_API(2, 0) std::
string decrypt(const uint8_t input[],
size_t input_len, std::string_view passphrase);
70BOTAN_PUBLIC_API(2, 0) std::
string decrypt(std::string_view input, std::string_view passphrase);
#define BOTAN_DEPRECATED_HEADER(hdr)
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_DEPRECATED(msg)