|
| | AES_GCM (const std::string &password) |
| | Constructor.
|
| |
| | AES_GCM (const AES_GCM &other)=default |
| | Copy constructor.
|
| |
| | AES_GCM (AES_GCM &&other) noexcept=default |
| | Move constructor.
|
| |
|
virtual | ~AES_GCM () noexcept=default |
| | Virtual destructor.
|
| |
| AES_GCM & | operator= (const AES_GCM &other)=default |
| | Copy assignment operator.
|
| |
| AES_GCM & | operator= (AES_GCM &&other) noexcept=default |
| | Move assignment operator.
|
| |
| PointerType | Clone () const noexcept override |
| | Clone the AES_GCM crypter.
|
| |
| PointerType | Move () noexcept override |
| | Move the AES_GCM crypter.
|
| |
| | Symmetric (const Symmetric &other)=default |
| | Copy constructor.
|
| |
| | Symmetric (Symmetric &&other) noexcept=default |
| | Move constructor.
|
| |
|
virtual | ~Symmetric () noexcept=default |
| | Virtual destructor.
|
| |
| Symmetric & | operator= (const Symmetric &other)=default |
| | Copy assignment operator.
|
| |
| Symmetric & | operator= (Symmetric &&other) noexcept=default |
| | Move assignment operator.
|
| |
| const std::string & | Password () const noexcept |
| | Gets the password used for symmetric encryption.
|
| |
| | Generic (const Generic &other)=default |
| | Copy constructor.
|
| |
| | Generic (Generic &&other) noexcept=default |
| | Move constructor.
|
| |
|
virtual | ~Generic () noexcept=default |
| | Virtual destructor.
|
| |
| Generic & | operator= (const Generic &other)=default |
| | Copy assignment operator.
|
| |
| Generic & | operator= (Generic &&other) noexcept=default |
| | Move assignment operator.
|
| |
| bool | Encrypt (std::span< const std::byte > input, Buffer::WriteOnly &output) const noexcept |
| | Encrypt data from input buffer to output buffer.
|
| |
| bool | Encrypt (const Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Encrypt data from input buffer to output buffer.
|
| |
| bool | Encrypt (Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Encrypt data from input buffer to output buffer, moving the input data.
|
| |
| Buffer::Consumer | Encrypt (Buffer::Consumer consumer, ReadMode mode=ReadMode::Move) const noexcept |
| | Encrypt data from a Consumer buffer.
|
| |
| bool | Decrypt (std::span< const std::byte > input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt data from input buffer to output buffer.
|
| |
| bool | Decrypt (const Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt data from input buffer to output buffer.
|
| |
| bool | Decrypt (Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt data from input buffer to output buffer, moving the input data.
|
| |
| Buffer::Consumer | Decrypt (Buffer::Consumer consumer, ReadMode mode=ReadMode::Move) const noexcept |
| | Decrypt data from a Consumer buffer.
|
| |
| enum Type | Type () const noexcept |
| | Gets the type of crypter.
|
| |
A symmetric crypter class.