Botan 3.5.0
Crypto and TLS for C&
cryptobox.cpp File Reference
#include <botan/cryptobox.h>
#include <botan/cipher_mode.h>
#include <botan/data_src.h>
#include <botan/mac.h>
#include <botan/mem_ops.h>
#include <botan/pem.h>
#include <botan/pwdhash.h>
#include <botan/rng.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/loadstor.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 
namespace  Botan::CryptoBox
 

Functions

std::string Botan::CryptoBox::decrypt (const uint8_t input[], size_t input_len, std::string_view passphrase)
 
std::string Botan::CryptoBox::decrypt (std::string_view input, std::string_view passphrase)
 
secure_vector< uint8_t > Botan::CryptoBox::decrypt_bin (const uint8_t input[], size_t input_len, std::string_view passphrase)
 
BOTAN_DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS secure_vector< uint8_t > Botan::CryptoBox::decrypt_bin (std::string_view input, std::string_view passphrase)
 
std::string Botan::CryptoBox::encrypt (const uint8_t input[], size_t input_len, std::string_view passphrase, RandomNumberGenerator &rng)