A Blake2b hasher class.
More...
#include <blake2b.hxx>
|
| | Blake2b () |
| | Constructor.
|
| |
| | Blake2b (const Blake2b &other)=default |
| | Copy constructor.
|
| |
| | Blake2b (Blake2b &&other) noexcept=default |
| | Move constructor.
|
| |
|
| ~Blake2b () noexcept=default |
| | Virtual destructor.
|
| |
| Blake2b & | operator= (const Blake2b &other)=default |
| | Copy assignment operator.
|
| |
| Blake2b & | operator= (Blake2b &&other) noexcept=default |
| | Move assignment operator.
|
| |
| PointerType | Clone () const noexcept override |
| | Clone the Blake2b hasher.
|
| |
| PointerType | Move () noexcept override |
| | Move the Blake2b 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.
|
| |
◆ Blake2b() [1/3]
| StormByte::Crypto::Hasher::Blake2b::Blake2b |
( |
| ) |
|
|
inline |
◆ Blake2b() [2/3]
| StormByte::Crypto::Hasher::Blake2b::Blake2b |
( |
const Blake2b & |
other | ) |
|
|
default |
Copy constructor.
- Parameters
-
| other | The other Blake2b hasher to copy from. |
◆ Blake2b() [3/3]
| StormByte::Crypto::Hasher::Blake2b::Blake2b |
( |
Blake2b && |
other | ) |
|
|
defaultnoexcept |
Move constructor.
- Parameters
-
| other | The other Blake2b hasher to move from. |
◆ Clone()
| PointerType StormByte::Crypto::Hasher::Blake2b::Clone |
( |
| ) |
const |
|
inlineoverridenoexcept |
Clone the Blake2b hasher.
- Returns
- A pointer to the cloned Blake2b hasher.
◆ Move()
| PointerType StormByte::Crypto::Hasher::Blake2b::Move |
( |
| ) |
|
|
inlineoverridenoexcept |
Move the Blake2b hasher.
- Returns
- A pointer to the moved Blake2b hasher.
◆ operator=() [1/2]
| Blake2b & StormByte::Crypto::Hasher::Blake2b::operator= |
( |
Blake2b && |
other | ) |
|
|
defaultnoexcept |
Move assignment operator.
- Parameters
-
| other | The other Blake2b hasher to move from. |
- Returns
- Reference to this Blake2b hasher.
◆ operator=() [2/2]
| Blake2b & StormByte::Crypto::Hasher::Blake2b::operator= |
( |
const Blake2b & |
other | ) |
|
|
default |
Copy assignment operator.
- Parameters
-
| other | The other Blake2b hasher to copy from. |
- Returns
- Reference to this Blake2b hasher.
The documentation for this class was generated from the following file:
- /home/runner/work/StormByte-Crypto/StormByte-Crypto/lib/public/StormByte/crypto/hasher/blake2b.hxx