Botan 3.6.1
Crypto and TLS for C&
|
#include <pk_ops.h>
Public Member Functions | |
virtual size_t | ciphertext_length (size_t ptext_len) const =0 |
virtual std::vector< uint8_t > | encrypt (std::span< const uint8_t > msg, RandomNumberGenerator &rng)=0 |
virtual size_t | max_input_bits () const =0 |
virtual | ~Encryption ()=default |
|
virtualdefault |
|
pure virtual |
Given the plaintext length, return an upper bound of the ciphertext length for this key and padding.
|
pure virtual |
Encrypt a message returning the ciphertext
Implemented in Botan::PK_Ops::Encryption_with_EME.
|
pure virtual |
Return the maximum input size for this key
Implemented in Botan::PK_Ops::Encryption_with_EME.