17 std::vector<
byte>
Encrypt(const std::
string& password, const
byte *buffer, const std::
size_t buffSize) override;
18 std::vector<
byte>
Encrypt(const std::
string& password, const std::vector<
byte>& buffer) override;
19 std::vector<
byte>
Decrypt(const std::
string& password, const
byte *cipher, const std::
size_t cipherSize) override;
20 std::vector<
byte>
Decrypt(const std::
string& password, const std::vector<
byte>& cipher) override;
21 void Encrypt(const std::
string& password, const fs::path& in_filename, const fs::path& out_filename) override;
22 void Decrypt(const std::
string& password, const fs::path& in_filename, const fs::path& out_filename) override;
26 std::unique_ptr<CryptoPP::EAX<CryptoPP::
Blowfish>::Decryption> m_blowfish_decryptor;
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
Algorithm abstract class.
std::vector< byte > Decrypt(const std::string &password, const byte *cipher, const std::size_t cipherSize) override
std::vector< byte > Encrypt(const std::string &password, const byte *buffer, const std::size_t buffSize) override
~Blowfish() noexcept override
Blowfish(const Algorithm::Intent intent) noexcept