8 #include <botan/keypair.h>     9 #include <botan/pubkey.h>    20                                   const std::string& padding)
    36    if(ciphertext == plaintext)
    41    return (plaintext == decrypted);
    49                                  const std::string& padding)
 bool signature_consistency_check(RandomNumberGenerator &rng, const Private_Key &key, const std::string &padding)
SecureVector< byte > random_vec(size_t bytes)
size_t maximum_input_size() const
SecureVector< byte > encrypt(const byte in[], size_t length, RandomNumberGenerator &rng) const
SecureVector< byte > sign_message(const byte in[], size_t length, RandomNumberGenerator &rng)
SecureVector< byte > decrypt(const byte in[], size_t length) const
bool encryption_consistency_check(RandomNumberGenerator &rng, const Private_Key &key, const std::string &padding)
bool verify_message(const byte msg[], size_t msg_length, const byte sig[], size_t sig_length)