A Blake2s hasher class.
More...
#include <blake2s.hxx>
|
| | Blake2s () |
| | Constructor.
|
| |
| | Blake2s (const Blake2s &other)=default |
| | Copy constructor.
|
| |
| | Blake2s (Blake2s &&other) noexcept=default |
| | Move constructor.
|
| |
|
| ~Blake2s () noexcept=default |
| | Virtual destructor.
|
| |
| Blake2s & | operator= (const Blake2s &other)=default |
| | Copy assignment operator.
|
| |
| Blake2s & | operator= (Blake2s &&other) noexcept=default |
| | Move assignment operator.
|
| |
| PointerType | Clone () const noexcept override |
| | Clone the Blake2s hasher.
|
| |
| PointerType | Move () noexcept override |
| | Move the Blake2s hasher.
|
| |
| | 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 | Hash (std::span< const std::byte > input, Buffer::WriteOnly &output) const noexcept |
| | Hash data from input buffer to output buffer.
|
| |
| bool | Hash (const Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Hash data from input buffer to output buffer.
|
| |
| bool | Hash (Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Hash data from input buffer to output buffer, moving the input data.
|
| |
| Buffer::Consumer | Hash (Buffer::Consumer consumer, ReadMode mode=ReadMode::Move) const noexcept |
| | Hash data from a Consumer buffer.
|
| |
| enum Type | Type () const noexcept |
| | Gets the type of hasher.
|
| |
◆ Blake2s() [1/3]
| StormByte::Crypto::Hasher::Blake2s::Blake2s |
( |
| ) |
|
|
inline |
◆ Blake2s() [2/3]
| StormByte::Crypto::Hasher::Blake2s::Blake2s |
( |
const Blake2s & |
other | ) |
|
|
default |
Copy constructor.
- Parameters
-
| other | The other Blake2s hasher to copy from. |
◆ Blake2s() [3/3]
| StormByte::Crypto::Hasher::Blake2s::Blake2s |
( |
Blake2s && |
other | ) |
|
|
defaultnoexcept |
Move constructor.
- Parameters
-
| other | The other Blake2s hasher to move from. |
◆ Clone()
| PointerType StormByte::Crypto::Hasher::Blake2s::Clone |
( |
| ) |
const |
|
inlineoverridenoexcept |
Clone the Blake2s hasher.
- Returns
- A pointer to the cloned Blake2s hasher.
◆ Move()
| PointerType StormByte::Crypto::Hasher::Blake2s::Move |
( |
| ) |
|
|
inlineoverridenoexcept |
Move the Blake2s hasher.
- Returns
- A pointer to the moved Blake2s hasher.
◆ operator=() [1/2]
| Blake2s & StormByte::Crypto::Hasher::Blake2s::operator= |
( |
Blake2s && |
other | ) |
|
|
defaultnoexcept |
Move assignment operator.
- Parameters
-
| other | The other Blake2s hasher to move from. |
- Returns
- Reference to this Blake2s hasher.
◆ operator=() [2/2]
| Blake2s & StormByte::Crypto::Hasher::Blake2s::operator= |
( |
const Blake2s & |
other | ) |
|
|
default |
Copy assignment operator.
- Parameters
-
| other | The other Blake2s hasher to copy from. |
- Returns
- Reference to this Blake2s hasher.
The documentation for this class was generated from the following file:
- /home/runner/work/StormByte-Crypto/StormByte-Crypto/lib/public/StormByte/crypto/hasher/blake2s.hxx