113 return MakePointer<SHA256>(*
this);
121 return MakePointer<SHA256>(std::move(*
this));
131 bool DoHash(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
Abstract hasher.
Definition generic.hxx:83
SHA-256 hasher.
Definition sha256.hxx:64
SHA256(SHA256 &&other) noexcept=default
Move constructor.
SHA256(const SHA256 &other)=default
Copy constructor.
~SHA256() noexcept
Destructor.
SHA256()
Default constructor.
Definition sha256.hxx:73
PointerType Move() noexcept override
Move this hasher into a new instance.
Definition sha256.hxx:120
ReadMode
How a source buffer is consumed.
Definition typedefs.hxx:57
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53