|
| | Serpent (const std::string &password) |
| | Constructor.
|
| |
| | Serpent (const Serpent &other)=default |
| | Copy constructor.
|
| |
| | Serpent (Serpent &&other) noexcept=default |
| | Move constructor.
|
| |
|
virtual | ~Serpent () noexcept=default |
| | Virtual destructor.
|
| |
| Serpent & | operator= (const Serpent &other)=default |
| | Copy assignment operator.
|
| |
| Serpent & | operator= (Serpent &&other) noexcept=default |
| | Move assignment operator.
|
| |
| PointerType | Clone () const noexcept override |
| | Clone the Serpent crypter.
|
| |
| PointerType | Move () noexcept override |
| | Move the Serpent 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.