BLAKE2s hasher. More...
#include <StormByte/crypto/hasher/blake2s.hxx>


Public Member Functions | |
| PointerType | Clone () const noexcept override |
| Clone this hasher. | |
| PointerType | Move () noexcept override |
| Move this hasher into a new instance. | |
Construction | |
| Blake2s () | |
| Default constructor. | |
| Blake2s (const Blake2s &other)=default | |
| Copy constructor. | |
| Blake2s (Blake2s &&other) noexcept=default | |
| Move constructor. | |
| ~Blake2s () noexcept | |
| Destructor. | |
| Blake2s & | operator= (const Blake2s &other)=default |
| Copy assignment. | |
| Blake2s & | operator= (Blake2s &&other) noexcept=default |
| Move assignment. | |
Public Member Functions inherited from StormByte::Crypto::Hasher::Generic | |
| Generic (const Generic &other)=default | |
| Copy constructor. | |
| Generic (Generic &&other) noexcept=default | |
| Move constructor. | |
| virtual | ~Generic () noexcept |
| Destructor. | |
| Generic & | operator= (const Generic &other)=default |
| Copy assignment. | |
| Generic & | operator= (Generic &&other) noexcept=default |
| Move assignment. | |
| bool | Hash (std::span< const std::byte > input, Buffer::WriteOnly &output) const noexcept |
| Hash a byte span into an output buffer. | |
| template<StormByte::Type::ByteInputRange Range> | |
| bool | Hash (const Range &input, Buffer::WriteOnly &output) const |
| Hash an input range of byte-convertible values. | |
| bool | Hash (const Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| Hash a read-only buffer (copy). | |
| bool | Hash (Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| Hash a buffer, consuming it. | |
| Buffer::Consumer | Hash (Buffer::Consumer consumer, ReadMode mode=ReadMode::Move) const noexcept |
| Hash a Consumer into another Consumer. | |
| enum Type | Type () const noexcept |
| Algorithm of this hasher. | |
Public Member Functions inherited from StormByte::Safe::Clonable< Generic > | |
| constexpr | Clonable ()=default |
| constexpr | Clonable (const Clonable &)=default |
| constexpr | Clonable (Clonable &&) noexcept=default |
| constexpr Clonable & | operator= (const Clonable &)=default |
| constexpr Clonable & | operator= (Clonable &&) noexcept=default |
| virtual constexpr | ~Clonable () noexcept=default |
Additional Inherited Members | |
Public Types inherited from StormByte::Safe::Clonable< Generic > | |
| typedef SmartPointer | PointerType |
Static Public Member Functions inherited from StormByte::Safe::Clonable< Generic > | |
| static PointerType | MakePointer (Args &&... args) |
Protected Member Functions inherited from StormByte::Crypto::Hasher::Generic | |
| Generic (enum Type type) | |
| Construct with an algorithm. | |
Protected Attributes inherited from StormByte::Crypto::Hasher::Generic | |
| enum Type | m_type |
| Algorithm. | |
BLAKE2s hasher.
|
inline |
Default constructor.
Copy constructor.
| other | Hasher to copy. |
|
defaultnoexcept |
Move constructor.
| other | Hasher to move. |
|
noexcept |
Destructor.
|
inlineoverridevirtualnoexcept |
Clone this hasher.
Implements StormByte::Safe::Clonable< Generic >.
|
inlineoverridevirtualnoexcept |
Move this hasher into a new instance.
Implements StormByte::Safe::Clonable< Generic >.
|
defaultnoexcept |
|
default |