99 AES& operator=(const
AES& other) = default;
106 AES& operator=(
AES&& other) noexcept = default;
114 return AES::MakePointer<AES>(*
this);
122 return AES::MakePointer<AES>(std::move(*
this));
132 bool DoEncrypt(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
148 bool DoDecrypt(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
AES-CBC crypter.
Definition aes.hxx:64
AES(Secure::Password password)
Construct with a password.
Definition aes.hxx:74
~AES() noexcept
Destructor.
PointerType Move() noexcept override
Move this crypter into a new instance.
Definition aes.hxx:121
AES(AES &&other) noexcept=default
Move constructor.
AES(const AES &other)=default
Copy constructor.
Password-based symmetric crypter.
Definition generic.hxx:57
Shared, wiped container for passwords and raw key material.
Definition password.hxx:104
ReadMode
How a source buffer is consumed.
Definition typedefs.hxx:57
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53