20 std::vector<
byte>
Encrypt(const std::
string& password, const
byte *buffer, const std::
size_t buffSize) override;
21 std::vector<
byte>
Encrypt(const std::
string& password, const std::vector<
byte>& buffer) override;
22 std::vector<
byte>
Decrypt(const std::
string& password, const
byte *cipher, const std::
size_t cipherSize) override;
23 std::vector<
byte>
Decrypt(const std::
string& password, const std::vector<
byte>& cipher) override;
24 void Encrypt(const std::
string& password, const fs::path& in_filename, const fs::path& out_filename) override;
25 void Decrypt(const std::
string& password, const fs::path& in_filename, const fs::path& out_filename) override;
28 std::unique_ptr<CryptoPP::EAX<CryptoPP::
IDEA>::
Encryption> m_idea_encryptor;
29 std::unique_ptr<CryptoPP::EAX<CryptoPP::
IDEA>::Decryption> m_idea_decryptor;
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
Algorithm abstract class.
~IDEA() noexcept override
IDEA(const Algorithm::Intent intent) noexcept
std::vector< byte > Encrypt(const std::string &password, const byte *buffer, const std::size_t buffSize) override
std::vector< byte > Decrypt(const std::string &password, const byte *cipher, const std::size_t cipherSize) override